mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Use active scan during connection to AP
If AP candidate is not found in scan cache during processing of cfg80211_connect request, it calls csr_scan_for_ssid() to find it. However default scan type is passive and dwell time is not enough to capture a beacon. Convert it to active scan. CRs-Fixed: 2130197 Change-Id: I11880473cce9089520c57542659e1b892417fc72
This commit is contained in:
parent
a1e0277dc7
commit
ca7315c8ae
1 changed files with 3 additions and 0 deletions
|
|
@ -4073,6 +4073,9 @@ QDF_STATUS csr_scan_for_ssid(tpAniSirGlobal mac_ctx, uint32_t session_id,
|
|||
req->scan_req.scan_id = scan_id;
|
||||
req->scan_req.vdev_id = session_id;
|
||||
req->scan_req.scan_req_id = mac_ctx->scan.requester_id;
|
||||
req->scan_req.scan_f_passive = false;
|
||||
req->scan_req.scan_f_bcast_probe = false;
|
||||
|
||||
|
||||
if (QDF_P2P_CLIENT_MODE == profile->csrPersona)
|
||||
req->scan_req.scan_priority = SCAN_PRIORITY_HIGH;
|
||||
|
|
|
|||
Loading…
Reference in a new issue