aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Copeland <[email protected]>2015-09-09 12:47:34 -0400
committerKalle Valo <[email protected]>2015-09-17 13:48:30 +0300
commit0d031c8995bcc065f9c5778069f2131f7d92d4d5 (patch)
tree2aa32d0f6dee9094bd734acc81948f03510c817d
parent6ccea107eba46fbc7de40e944bf17145c2809666 (diff)
ath10k: enable monitor when OTHER_BSS requested
By default, ath10k restricts received frames to those matching BSSID. When other BSS frames are requested (e.g. in mesh mode), add an internal monitor device so those frames are not filtered. Signed-off-by: Bob Copeland <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
-rw-r--r--drivers/net/wireless/ath/ath10k/mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 989d2a154f8f..80efcc8debfe 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -1070,6 +1070,7 @@ static bool ath10k_mac_monitor_vdev_is_needed(struct ath10k *ar)
return false;
return ar->monitor ||
+ ar->filter_flags & FIF_OTHER_BSS ||
test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags);
}