Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d031c89 authored by Bob Copeland's avatar Bob Copeland Committed by Kalle Valo
Browse files

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: default avatarBob Copeland <me@bobcopeland.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 6ccea107
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
}