mac80211: Cancel the dynamic ps timer in ioctl_siwpower.
authorVivek Natarajan <vivek.natraj@gmail.com>
Tue, 27 Jan 2009 13:56:28 +0000 (19:26 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Jan 2009 18:38:28 +0000 (13:38 -0500)
commitb8abde45d7d6ab9e8ceced9b5990eeb1149d0b97
tree290530b650cdbc9378a3f2f43907cdb08c4a3b88
parent94ff91d4afd8ae14e8bb7012ba17cf6984130e44
mac80211: Cancel the dynamic ps timer in ioctl_siwpower.

If the dynamic power save timer has been started before the power save
is disabled using iwconfig, we fail to cancel the timer. Hence cancel it
while disabling power save.

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