]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: add test to determine if interface in monitor mode
authorChatre, Reinette <reinette.chatre@intel.com>
Fri, 23 Jan 2009 21:45:09 +0000 (13:45 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:31 +0000 (16:01 -0500)
commit4c4df78f5e224fd59fe337773878eca681ed02a9
treed339341bf8abbee3bbc13f9dd7c59d15cc43bde5
parent1a9f509368ceb24fc66be961be15c69966f5eb5d
iwlwifi: add test to determine if interface in monitor mode

mac80211 sets driver in monitor mode through configuring the
RX filters. We cannot trust priv->iw_mode to be accurate
regarding monitor mode as iw_mode is only set in add_interface,
which is not called by mac80211 when in monitor mode.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c