diff options
author | Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com> | 2023-07-03 23:08:33 +0900 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-07-13 02:26:33 +0000 |
commit | bb8298fc4afb851a2c0f803c15f9396a97e544ea (patch) | |
tree | 0bf4019254e481b3a6b09eba9ea7afcbec705d67 | |
parent | 1406e6cdf66a6adbb01bbb5b910a4a7c1bababa6 (diff) | |
download | bcm4398-bb8298fc4afb851a2c0f803c15f9396a97e544ea.tar.gz |
bcmdhd: Fix for rtnl lock assert warnings in iface remove path in dual softap case
Bug: 288527252
Test: Regression test passed
Change-Id: I4637cb5bb6a829348ef2ce3299b82008f0aab405
Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>
-rw-r--r-- | wl_cfgvendor.c | 2 | ||||
-rw-r--r-- | wl_cfgvif.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/wl_cfgvendor.c b/wl_cfgvendor.c index 27b6ef3..f949d1b 100644 --- a/wl_cfgvendor.c +++ b/wl_cfgvendor.c @@ -1875,6 +1875,8 @@ wl_cfgvendor_stop_hal(struct wiphy *wiphy, dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub); #endif /* DHD_FILE_DUMP_EVENT */ + WL_INFORM(("%s, Cleanup virtual_ifaces\n", __FUNCTION__)); + wl_cfg80211_cleanup_virtual_ifaces(cfg, true); cfg->hal_started = false; #ifdef DHD_FILE_DUMP_EVENT dhd_set_dump_status(dhd, DUMP_NOT_READY); diff --git a/wl_cfgvif.c b/wl_cfgvif.c index ea382fd..947d6be 100644 --- a/wl_cfgvif.c +++ b/wl_cfgvif.c @@ -1598,7 +1598,7 @@ wl_cfg80211_cleanup_virtual_ifaces(struct bcm_cfg80211 *cfg, bool rtnl_lock_reqd #endif /* WL_STATIC_IF */ { dev_close(iter->ndev); - WL_DBG(("Cleaning up iface:%s \n", iter->ndev->name)); + WL_INFORM(("Cleaning up iface:%s \n", iter->ndev->name)); #if defined(WLAN_ACCEL_BOOT) /* Trigger force reg_on to ensure clean up of virtual interface * states in FW for any residual interface states, casued due to |