mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Allow DBS scan if enabled in ini
Currently the driver checks that DBS for connection is allowed or not, and on that basis rejects the scan, but it may happen that FW supports DBS, and DBS for scan is enabled in the ini, but the DBS for connection is disabled. In that case the diver opts for non-dbs scan. Fix is to allow DBS scan in case of DBS scan enabled in ini. Change-Id: I080ba4e581a7f77e84a4364237621429bcf91710 CRs-Fixed: 2474580
This commit is contained in:
parent
02c9164668
commit
59b6bee259
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ scm_update_dbs_scan_ctrl_ext_flag(struct scan_start_request *req)
|
|||
|
||||
psoc = wlan_vdev_get_psoc(req->vdev);
|
||||
|
||||
if (!policy_mgr_is_hw_dbs_capable(psoc)) {
|
||||
if (!policy_mgr_is_dbs_scan_allowed(psoc)) {
|
||||
scm_debug("dbs disabled, going for non-dbs scan");
|
||||
scan_dbs_policy = SCAN_DBS_POLICY_FORCE_NONDBS;
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Reference in a new issue