diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-01-06 23:40:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:09:24 -0800 |
commit | e37ea2135be080dd25f1a2644c9132c109fa77d1 (patch) | |
tree | 9e4960846d844f6ae03de2e05b958c156f164976 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 042671040db95a896c5ca960b9b656692a787892 (diff) |
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 <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
0 files changed, 0 insertions, 0 deletions