mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-08 20:25:11 +00:00
Fix connection error on resume
This commit is contained in:
parent
ad32b0d9a8
commit
dbc8d10201
@ -1232,10 +1232,14 @@ void rtw_cfg80211_indicate_disconnect(_adapter *padapter, u16 reason, u8 locally
|
||||
rtw_cfg80211_connect_result(pwdev, NULL, NULL, 0, NULL, 0,
|
||||
reason, GFP_ATOMIC);
|
||||
} else {
|
||||
RTW_INFO(FUNC_ADPT_FMT" call cfg80211_disconnected\n", FUNC_ADPT_ARG(padapter));
|
||||
rtw_cfg80211_disconnected(pwdev, reason, NULL, 0, locally_generated, GFP_ATOMIC);
|
||||
RTW_INFO(FUNC_ADPT_FMT" call cfg80211_disconnected\n", FUNC_ADPT_ARG(padapter));
|
||||
rtw_cfg80211_disconnected(pwdev, reason, NULL, 0, locally_generated, GFP_ATOMIC);
|
||||
|
||||
cfg80211_connect_result(padapter->pnetdev, NULL, NULL, 0, NULL, 0,
|
||||
WLAN_STATUS_UNSPECIFIED_FAILURE, GFP_ATOMIC);
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
rtw_wdev_free_connect_req(pwdev_priv);
|
||||
|
Loading…
Reference in New Issue
Block a user