mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-15 06:00:41 +00:00
ath10k: dont configure bssid for ap mode
FW creates self-peer for AP internally. This prevents ath10k from trying to create explicit self-peer during hw recovery and thus prevents a timeout and a warning during teardown: ath10k: removing stale peer $AP_BSSID from vdev_id 0 Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
911e6c0d8d
commit
7b161a7034
@ -3025,7 +3025,12 @@ static void ath10k_bss_info_changed(struct ieee80211_hw *hw,
|
|||||||
arvif->u.ap.hidden_ssid = info->hidden_ssid;
|
arvif->u.ap.hidden_ssid = info->hidden_ssid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (changed & BSS_CHANGED_BSSID) {
|
/*
|
||||||
|
* Firmware manages AP self-peer internally so make sure to not create
|
||||||
|
* it in driver. Otherwise AP self-peer deletion may timeout later.
|
||||||
|
*/
|
||||||
|
if (changed & BSS_CHANGED_BSSID &&
|
||||||
|
vif->type != NL80211_IFTYPE_AP) {
|
||||||
if (!is_zero_ether_addr(info->bssid)) {
|
if (!is_zero_ether_addr(info->bssid)) {
|
||||||
ath10k_dbg(ATH10K_DBG_MAC,
|
ath10k_dbg(ATH10K_DBG_MAC,
|
||||||
"mac vdev %d create peer %pM\n",
|
"mac vdev %d create peer %pM\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user