mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacmn: Don't update ACS scan channel list
Ini item 'scan_mode_6ghz' updates the scan channel list based on the user configuration value that includes the ACS scan on SAP mode. This change restricts the ini item configuration for ACS scan request. Change-Id: I0871fed8a8d1e551656e8a1ba06b504755074ca1 CRs-Fixed: 2574811
This commit is contained in:
parent
6810d038e9
commit
0ca3c59702
1 changed files with 7 additions and 3 deletions
|
|
@ -1107,9 +1107,13 @@ scm_update_channel_list(struct scan_start_request *req,
|
|||
}
|
||||
|
||||
req->scan_req.chan_list.num_chan = num_scan_channels;
|
||||
scm_update_6ghz_channel_list(req->vdev, &req->scan_req.chan_list,
|
||||
scan_obj);
|
||||
scm_sort_6ghz_channel_list(req->vdev, &req->scan_req.chan_list);
|
||||
/* Dont upadte the channel list for SAP mode */
|
||||
if (wlan_vdev_mlme_get_opmode(req->vdev) != QDF_SAP_MODE) {
|
||||
scm_update_6ghz_channel_list(req->vdev,
|
||||
&req->scan_req.chan_list,
|
||||
scan_obj);
|
||||
scm_sort_6ghz_channel_list(req->vdev, &req->scan_req.chan_list);
|
||||
}
|
||||
scm_scan_chlist_concurrency_modify(req->vdev, req);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue