Mark interface disconnected on removal request
This cleans up debug log by not trying to process the disconnection event as a failure that could result in blacklist addition and auto connect attempt. These are pointless operations since the interface is going to removed immediately after this. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
3636b891b7
commit
e679f140b9
1 changed files with 1 additions and 0 deletions
|
@ -3018,6 +3018,7 @@ next_driver:
|
|||
static void wpa_supplicant_deinit_iface(struct wpa_supplicant *wpa_s,
|
||||
int notify, int terminate)
|
||||
{
|
||||
wpa_s->disconnected = 1;
|
||||
if (wpa_s->drv_priv) {
|
||||
wpa_supplicant_deauthenticate(wpa_s,
|
||||
WLAN_REASON_DEAUTH_LEAVING);
|
||||
|
|
Loading…
Reference in a new issue