android_kernel_xiaomi_sm8350/core
Jianmin Zhu 9b7bef75ca qcacld-3.0: Fix 2nd STA failed to connect in dbs mode
When STA connect and target AP isn't in scan cache, specific
scan for AP ssid will happen, and roam profile is saved in
scan info.
When scan complete, in registered csr scan callback, if connect
need HW mode change, HW mode change is sent to F/W, and roam
profile in scan info is freed at once.
In HW mode change response handler,  if roam profile in scan info
is found to be freed,  failed to start connect.

Fix:
Make sure roam profile not freed before issue connect.
In specific scan result callback, before issue connect, check
whether need HW mode change.
1. If HW mode change is unneeded or return FAILED, free roam
   profile in scan info.
2. If HW mode change return SUCCESS,  when cmd is finished or
   cancelled, in csr_free_cmd_memory, free roam profile when
   cmd is e_sme_command_set_hw_mode with reason
   POLICY_MGR_UPDATE_REASON_HIDDEN_STA.

Change-Id: I3f87996de4142baea33dd0f56cb2a892f0387336
CRs-Fixed: 2369154
2018-12-21 19:23:32 -08:00
..
bmi qcacld-3.0: Remove unnecessary includes from ol_if_athvar.h 2018-12-17 13:12:01 -08:00
cds qcacld-3.0: Remove cds_crypto_init()/deinit() 2018-12-21 15:10:10 -08:00
dp qcacld-3.0: Avoid rx_ring.refill_debt count to become negative 2018-12-21 02:40:32 -08:00
hdd qcacld-3.0: Remove hdd_wmm_get_uapsd_mask() 2018-12-21 15:15:33 -08:00
mac Release 5.2.0.112T 2018-12-21 15:16:01 -08:00
pld qcacld-3.0: Enable MAC provisioning from ini 2018-12-14 05:34:46 -08:00
sap qcacld-3.0: Remove sap_dfs_is_channel_in_preferred_location() 2018-12-21 15:12:00 -08:00
sme qcacld-3.0: Fix 2nd STA failed to connect in dbs mode 2018-12-21 19:23:32 -08:00
wma qcacld-3.0: Remove wma_ipa_uc_stat_request() 2018-12-21 15:14:37 -08:00