summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/mac80211-ops.c
diff options
context:
space:
mode:
authorMathy Vanhoef <vanhoefm@gmail.com>2014-06-13 23:40:22 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-07-01 20:26:25 +0200
commit41881354f93a5e82f16c811f95e0700bf99283ec (patch)
tree95b29e51deb99142cfac4a1c0ddc40485c2e4746 /drivers/net/wireless/ath/ath5k/mac80211-ops.c
parentwireless: mwifiex: Use the proper interfaces (diff)
downloadlinux-41881354f93a5e82f16c811f95e0700bf99283ec.tar.xz
linux-41881354f93a5e82f16c811f95e0700bf99283ec.zip
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 '')
-rw-r--r--drivers/net/wireless/ath/ath5k/mac80211-ops.c2
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);
}