mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Fix warning during SAP SSR deinit
Check for SAP BSS started flag before deinitialization of SAP context data, station disconnection and action frame cleanup Change-Id: I0191567818d5ee62a826531311cd08cb1a18ad28 CRs-fixed: 2008653
This commit is contained in:
parent
f9b2dc18fa
commit
0a44ec81fd
2 changed files with 9 additions and 6 deletions
|
|
@ -8486,8 +8486,6 @@ void hdd_sap_indicate_disconnect_for_sta(hdd_adapter_t *adapter)
|
|||
}
|
||||
}
|
||||
|
||||
clear_bit(SOFTAP_BSS_STARTED, &adapter->event_flags);
|
||||
|
||||
EXIT();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4056,13 +4056,18 @@ QDF_STATUS hdd_reset_all_adapters(hdd_context_t *hdd_ctx)
|
|||
wlan_hdd_netif_queue_control(adapter,
|
||||
WLAN_NETIF_TX_DISABLE,
|
||||
WLAN_CONTROL_PATH);
|
||||
hdd_sap_indicate_disconnect_for_sta(adapter);
|
||||
hdd_cleanup_actionframe(hdd_ctx, adapter);
|
||||
hdd_sap_destroy_events(adapter);
|
||||
} else
|
||||
if (test_bit(SOFTAP_BSS_STARTED,
|
||||
&adapter->event_flags)) {
|
||||
hdd_sap_indicate_disconnect_for_sta(adapter);
|
||||
hdd_cleanup_actionframe(hdd_ctx, adapter);
|
||||
hdd_sap_destroy_events(adapter);
|
||||
}
|
||||
clear_bit(SOFTAP_BSS_STARTED, &adapter->event_flags);
|
||||
} else {
|
||||
wlan_hdd_netif_queue_control(adapter,
|
||||
WLAN_NETIF_TX_DISABLE_N_CARRIER,
|
||||
WLAN_CONTROL_PATH);
|
||||
}
|
||||
|
||||
adapter->sessionCtx.station.hdd_ReassocScenario = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue