mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
Merge "qcacld-3.0: Fix kernel disconnect indication mismatch issue" into wlan-cld3.driver.lnx.2.0
This commit is contained in:
commit
d45ff6885e
1 changed files with 6 additions and 1 deletions
|
|
@ -4392,9 +4392,14 @@ QDF_STATUS hdd_stop_adapter(struct hdd_context *hdd_ctx, struct hdd_adapter *ada
|
|||
hdd_ctx->hHal,
|
||||
adapter->session_id,
|
||||
eCSR_DISCONNECT_REASON_IBSS_LEAVE);
|
||||
else if (QDF_STA_MODE == adapter->device_mode)
|
||||
else if (QDF_STA_MODE == adapter->device_mode) {
|
||||
qdf_ret_status =
|
||||
wlan_hdd_try_disconnect(adapter);
|
||||
hdd_debug("Send disconnected event to userspace");
|
||||
wlan_hdd_cfg80211_indicate_disconnect(
|
||||
adapter->dev, true,
|
||||
WLAN_REASON_UNSPECIFIED);
|
||||
}
|
||||
else
|
||||
qdf_ret_status = sme_roam_disconnect(
|
||||
hdd_ctx->hHal,
|
||||
|
|
|
|||
Loading…
Reference in a new issue