wifi: rtw89: stop mac port function when stop_ap()
authorPo-Hao Huang <phhuang@realtek.com>
Fri, 2 Dec 2022 06:15:25 +0000 (14:15 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 8 Dec 2022 14:47:58 +0000 (16:47 +0200)
commitd592b9f742643f07db53ac34baf6bbd3ce9478dc
treed32e6e7eeb96546b66cfef64bf2033f829526cf1
parentfb2b8cec81d75b2b20bdbc2fca7a60a68bc78aac
wifi: rtw89: stop mac port function when stop_ap()

Disable hardware beacon related functions when ap stops. So hardware won't
transmit beacons while interface is already removed.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221202061527.505668-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac.h
drivers/net/wireless/realtek/rtw89/mac80211.c