diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-04-22 14:40:58 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-04-24 11:14:13 +0200 |
commit | df1404650ccbfeb76a84f301f22316be0d00a864 (patch) | |
tree | 3c866bf75c99dd402b4e152bdeefaa209f38eb8d /drivers/net/wireless/mwl8k.c | |
parent | ebd82b39bf11b38b0b50919c8d4386706b26bff7 (diff) |
mac80211: remove support for IFF_PROMISC
This support is essentially useless as typically networks are encrypted,
frames will be filtered by hardware, and rate scaling will be done with
the intended recipient in mind. For real monitoring of the network, the
monitor mode support should be used instead.
Removing it removes a lot of corner cases.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 95921167b53f..b71fc74d14ab 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c @@ -5192,7 +5192,7 @@ mwl8k_configure_filter_sniffer(struct ieee80211_hw *hw, priv->sniffer_enabled = true; } - *total_flags &= FIF_PROMISC_IN_BSS | FIF_ALLMULTI | + *total_flags &= FIF_ALLMULTI | FIF_BCN_PRBRESP_PROMISC | FIF_CONTROL | FIF_OTHER_BSS; |