From e00bd6e98b511d906def0312a55585f00e3ad674 Mon Sep 17 00:00:00 2001 From: meijian Date: Thu, 7 Mar 2024 10:30:29 +0800 Subject: [PATCH] [driver][bcm43xxx] reset tx_seq of sido-bus when ifdown wlan-if it will busyloop when frequently turn up/down wlan NIC Signed-off-by: meijian --- drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c index c602648869dde..e3168cc8d92da 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio.c @@ -895,6 +895,7 @@ int bcmf_bus_sdio_active(FAR struct bcmf_dev_s *priv, bool active) exit_uninit_hw: sbus->ready = false; bcmf_hwuninitialize(sbus); + sbus->tx_seq = 0; return ret; }