mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Ensure disconnect indication after roam command failure
Bug 5578305 Change-Id: I2f8caaa18b3220285182f30774d6246dd4557cca Signed-off-by: Shaofu <shaofu@realtek.com> Signed-off-by: Narayana Reddy P <narayanr@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3485374 Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5f08e6dabd
commit
fef3efa9d1
@@ -1741,8 +1741,12 @@ void rtw_surveydone_event_callback(_adapter *adapter, u8 *pbuf)
|
|||||||
RTW_INFO("try_to_join, but select scanning queue fail, to_roam:%d\n", rtw_to_roam(adapter));
|
RTW_INFO("try_to_join, but select scanning queue fail, to_roam:%d\n", rtw_to_roam(adapter));
|
||||||
|
|
||||||
#ifdef CONFIG_RTW_FSM_BTM
|
#ifdef CONFIG_RTW_FSM_BTM
|
||||||
if (rtw_to_roam(adapter) == 0)
|
if (rtw_to_roam(adapter) == 0) {
|
||||||
rtw_indicate_disconnect(adapter, 0, _FALSE);
|
rtw_indicate_disconnect(adapter, 0, _FALSE);
|
||||||
|
#ifdef CONFIG_IOCTL_CFG80211
|
||||||
|
rtw_cfg80211_indicate_disconnect(adapter, 0, _FALSE);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
_clr_fwstate_(pmlmepriv, WIFI_UNDER_LINKING);
|
_clr_fwstate_(pmlmepriv, WIFI_UNDER_LINKING);
|
||||||
#else
|
#else
|
||||||
if (rtw_to_roam(adapter) != 0) {
|
if (rtw_to_roam(adapter) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user