]> err.no Git - linux-2.6/commit
[PATCH] rt2x00: Store "STARTED" state during suspend
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 6 Oct 2007 12:12:42 +0000 (14:12 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:09 +0000 (16:55 -0700)
commit6d7f9877a66a3abe0b04b63d1de4659919e21a92
treec89cd9767c0a8aaef89e799b3a821262f703d7d5
parent3a84732a5c9758a4bd59088787cac23508ef8b62
[PATCH] rt2x00: Store "STARTED" state during suspend

Store the started state into a new flag DEVICE_STARTED_SUSPEND
and set this when suspending while the device was started.
We can't check for is_interface_present() since only mac80211
knows if there are monitor interfaces present.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c