ath6kl: fix operations for power management
authorNaveen Singh <nsingh@atheros.com>
Thu, 21 Apr 2011 20:30:40 +0000 (13:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Apr 2011 23:24:24 +0000 (16:24 -0700)
commit8fcf92d1cf85329d0efc029c65af3f92b2041bf2
treebc1ba075b9da20d0adde92821bcefe1530ba6803
parent3c9d2f6c14ebbfdc97945f8f8c023f1fde86732b
ath6kl: fix operations for power management

The cfg80211 ops for power management were completely
broken. If we were asked for to go into power save it was putting
device in awake, and when we were asked to become awake we were
putting the device into power save... This fixes the powersave
operations to do the right thing.

Signed-off-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/cfg80211.c