From: Ivo van Doorn Date: Sun, 6 Jan 2008 22:40:07 +0000 (+0100) Subject: rt2x00: Move start() and stop() handlers into rt2x00lib.c X-Git-Tag: v2.6.25-rc1~1162^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e37ea2135be080dd25f1a2644c9132c109fa77d1;p=pandora-kernel.git rt2x00: Move start() and stop() handlers into rt2x00lib.c suspend & resume was broken since it called rt2x00mac_start() and rt2x00mac_stop() which would fail to execute because the DEVICE_PRESENT flag was not set. Move the start and stop handlers into rt2x00lib.c which are called from rt2x00mac_start() and rt2x00mac_stop() after they have checked the DEVICE_PRESENT flag, while suspend and resume handlers can directly call those functions. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed