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/at76c50x-usb.h | |
parent | mac80211: make station hash table max_size configurable (diff) | |
download | linux-df1404650ccbfeb76a84f301f22316be0d00a864.tar.xz linux-df1404650ccbfeb76a84f301f22316be0d00a864.zip |
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/at76c50x-usb.h')
-rw-r--r-- | drivers/net/wireless/at76c50x-usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.h b/drivers/net/wireless/at76c50x-usb.h index 55090a38ac95..ae03271f878e 100644 --- a/drivers/net/wireless/at76c50x-usb.h +++ b/drivers/net/wireless/at76c50x-usb.h @@ -447,7 +447,7 @@ struct at76_priv { int mac80211_registered; }; -#define AT76_SUPPORTED_FILTERS FIF_PROMISC_IN_BSS +#define AT76_SUPPORTED_FILTERS 0 #define SCAN_POLL_INTERVAL (HZ / 4) |