diff options
author | Mathy Vanhoef <vanhoefm@gmail.com> | 2014-06-13 23:40:22 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-07-01 14:26:25 -0400 |
commit | 41881354f93a5e82f16c811f95e0700bf99283ec (patch) | |
tree | 95b29e51deb99142cfac4a1c0ddc40485c2e4746 /drivers/net/wireless/ath/ath5k/mac80211-ops.c | |
parent | c64800e772a03a8162e107c2d03d06175fff443d (diff) |
ath5k: support for FIF_FCSFAIL filter
When the FIF_FCSFAIL filter flag is set, pass frames with CRC errors.
Signed-off-by: Mathy Vanhoef <vanhoefm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/mac80211-ops.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/mac80211-ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/mac80211-ops.c b/drivers/net/wireless/ath/ath5k/mac80211-ops.c index afb23b3cc7be..b65c38fdaa4b 100644 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c +++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c @@ -473,6 +473,8 @@ ath5k_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, /* Set the cached hw filter flags, this will later actually * be set in HW */ ah->filter_flags = rfilt; + /* Store current FIF filter flags */ + ah->fif_filter_flags = *new_flags; mutex_unlock(&ah->lock); } |