aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-12-15 09:07:56 -0500
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-12-26 13:08:48 -0500
commitbdb84fec61aab7047b1b108b6b6824c003bc4d11 (patch)
tree649f140750a61f142d457a859d2f78b7f3a2b6aa /drivers/net/wireless/iwlwifi
parente88735d711948a580741fd337afd4ec11c395174 (diff)
iwlagn: fix FH error
# iw wlan0 interface add moni0 type monitor flags control # ip link set moni0 up causes a continuous spew of FH_ERROR from the device. Fix this by not setting the CTL2HOST filter by itself -- CTL + promisc works fine. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index d4075476670a..b54d74daaea4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3634,7 +3634,8 @@ void iwlagn_configure_filter(struct ieee80211_hw *hw,
3634 changed_flags, *total_flags); 3634 changed_flags, *total_flags);
3635 3635
3636 CHK(FIF_OTHER_BSS | FIF_PROMISC_IN_BSS, RXON_FILTER_PROMISC_MSK); 3636 CHK(FIF_OTHER_BSS | FIF_PROMISC_IN_BSS, RXON_FILTER_PROMISC_MSK);
3637 CHK(FIF_CONTROL, RXON_FILTER_CTL2HOST_MSK); 3637 /* Setting _just_ RXON_FILTER_CTL2HOST_MSK causes FH errors */
3638 CHK(FIF_CONTROL, RXON_FILTER_CTL2HOST_MSK | RXON_FILTER_PROMISC_MSK);
3638 CHK(FIF_BCN_PRBRESP_PROMISC, RXON_FILTER_BCON_AWARE_MSK); 3639 CHK(FIF_BCN_PRBRESP_PROMISC, RXON_FILTER_BCON_AWARE_MSK);
3639 3640
3640#undef CHK 3641#undef CHK