Revert "ath10k: drop beacon and probe response which leak from other channel"
authorKalle Valo <quic_kvalo@quicinc.com>
Tue, 15 Mar 2022 15:54:55 +0000 (17:54 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 16 Mar 2022 11:34:52 +0000 (13:34 +0200)
commit45b4eb7ee6aa1a55a50831b328aa5f46ac3a7187
tree56c4cd2e80ba6851e7f11517189cdcd6d35ca88a
parente6e91ec966db5af4f059cfbac1af06560404b317
Revert "ath10k: drop beacon and probe response which leak from other channel"

This reverts commit 3bf2537ec2e33310b431b53fd84be8833736c256.

I was reported privately that this commit breaks AP and mesh mode on QCA9984
(firmware 10.4-3.9.0.2-00156). So revert the commit to fix the regression.

There was a conflict due to cfg80211 API changes but that was easy to fix.

Fixes: 3bf2537ec2e3 ("ath10k: drop beacon and probe response which leak from other channel")
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220315155455.20446-1-kvalo@kernel.org
drivers/net/wireless/ath/ath10k/wmi.c