mac80211: Cancel the power save timer in ieee80211_stop.
authorVivek Natarajan <vivek.natraj@gmail.com>
Wed, 24 Dec 2008 08:34:37 +0000 (00:34 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:58:49 +0000 (15:58 -0500)
commit7cbf0ba5193d1f3bb3caaa06668e22bc86776e41
tree759a4160513042ba50f6361b7df9330f3c02aa05
parenta97b77b90decf27a86ac40ea53a741ffb5ead21a
mac80211: Cancel the power save timer in ieee80211_stop.

Since the station info is flushed before calling set_disassoc
in ieee80211_stop, the power save timer is never cancelled
when the driver is unloaded. Hence the timer cancellation has
to be done in ieee80211_stop itself.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c