]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix incorrect monitor mode operation
authorRick Farrington <rickdic@hotmail.com>
Mon, 30 Jun 2008 09:23:28 +0000 (17:23 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jul 2008 19:41:55 +0000 (15:41 -0400)
commitcf86baf4973993b25014baf29d4d4127ebdd13a1
tree759f8b1c62da78178e138b60ee625187f9f58274
parentd9105de332547e8241e5d5f0356566b0a92a2240
iwlwifi: fix incorrect monitor mode operation

This patch fixes monitor mode operation for iwlwifi.

Problems addressed:
1. when monitor mode was enabled, multiple, overlapped calls were being
made to 'iwl3945_bg_set_monitor'

2. when monitor mode was disabled (via the configure_filter callback),
the driver was still enabling monitor mode

3. when monitor mode was enabled, the selected channel was not set
(eg. 'iwconfig wlanx mode monitor channel n' DID NOT SET channel 'n'
when packet capture was subsequently enabled)

Signed-off-by: Rick Farrington <rickdic@hotmail.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c