rtw88: coex: remove write scan bit to scoreboard in scan and connect notify
Remove some action which were writing scan bit to scoreboard, since these behaviors are redundant. It is already done in WLAN info notify. Signed-off-by: Ching-Te Ku <ku920601@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20201112031430.4846-10-pkshih@realtek.com
This commit is contained in:
@@ -2488,10 +2488,7 @@ void rtw_coex_scan_notify(struct rtw_dev *rtwdev, u8 type)
|
||||
return;
|
||||
|
||||
coex->freeze = false;
|
||||
|
||||
if (type != COEX_SCAN_FINISH)
|
||||
rtw_coex_write_scbd(rtwdev, COEX_SCBD_ACTIVE | COEX_SCBD_SCAN |
|
||||
COEX_SCBD_ONOFF, true);
|
||||
rtw_coex_write_scbd(rtwdev, COEX_SCBD_ACTIVE | COEX_SCBD_ONOFF, true);
|
||||
|
||||
if (type == COEX_SCAN_START_5G) {
|
||||
rtw_dbg(rtwdev, RTW_DBG_COEX,
|
||||
@@ -2548,8 +2545,7 @@ void rtw_coex_connect_notify(struct rtw_dev *rtwdev, u8 type)
|
||||
if (coex->manual_control || coex->stop_dm)
|
||||
return;
|
||||
|
||||
rtw_coex_write_scbd(rtwdev, COEX_SCBD_ACTIVE | COEX_SCBD_SCAN |
|
||||
COEX_SCBD_ONOFF, true);
|
||||
rtw_coex_write_scbd(rtwdev, COEX_SCBD_ACTIVE | COEX_SCBD_ONOFF, true);
|
||||
|
||||
if (type == COEX_ASSOCIATE_5G_START) {
|
||||
rtw_dbg(rtwdev, RTW_DBG_COEX, "[BTCoex], %s(): 5G start\n",
|
||||
|
||||
Reference in New Issue
Block a user