]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8397b1cbb96452b643713a7369f5fc345b4ac71c
tree2a13d6467b753647a779cb47f2cb97d440f4d2b8
parentb13fa31f866f0d2b7e26b3bdafe31f33ba916849
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