mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
Merge "qcacld-3.0: Add sta_id check before updating sta adapater array" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
cbd95b5a4a
1 changed files with 2 additions and 1 deletions
|
|
@ -1729,7 +1729,8 @@ static QDF_STATUS hdd_dis_connect_handler(struct hdd_adapter *adapter,
|
|||
sme_remove_bssid_from_scan_list(hdd_ctx->hHal,
|
||||
sta_ctx->conn_info.bssId.bytes);
|
||||
}
|
||||
hdd_ctx->sta_to_adapter[sta_id] = NULL;
|
||||
if (sta_id < HDD_MAX_ADAPTERS)
|
||||
hdd_ctx->sta_to_adapter[sta_id] = NULL;
|
||||
}
|
||||
/* Clear saved connection information in HDD */
|
||||
hdd_conn_remove_connect_info(sta_ctx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue