ath9k: Avoid HW opmode overridden on monitor mode changes
authorRajkumar Manoharan <rmanoharan@atheros.com>
Wed, 27 Oct 2010 13:01:15 +0000 (18:31 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Nov 2010 21:53:46 +0000 (16:53 -0500)
commit5f841b4130a639e5f0fbcf4a9b26045d734e4ee6
tree2a13d6467b753647a779cb47f2cb97d440f4d2b8
parent269e2d77b82d92d8dad543a2375e74372e9d773e
ath9k: Avoid HW opmode overridden on monitor mode changes

The HW opmode is blindly set to monitor type on monitor mode
change notification. This overrides the opmode when one of the
interfaces is still running as non-monitor iftype. So the monitoring
information needs to be maintained seperately.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c