qcacld-3.0: Ignore unsafe channel
Driver reports unsafe channel to the upper layer although channel is unsafe. Ignore the channels which are unsafe after examination of whether channel is safe or not by the use of policy_mgr_is_safe_channel() and report safe channel to upper layer Change-Id: Idfe741d19b8641814888938eab37a1daa83b7dd9 CRs-Fixed: 3197317
This commit is contained in:

committed by
Madan Koyyalamudi

부모
b762270120
커밋
9c3b2ea466
@@ -3057,6 +3057,9 @@ void wlan_hdd_handle_zero_acs_list(struct hdd_context *hdd_ctx,
|
||||
!wlan_reg_is_6ghz_psc_chan_freq(org_freq_list[i]))
|
||||
continue;
|
||||
|
||||
if (!policy_mgr_is_safe_channel(hdd_ctx->psoc,
|
||||
org_freq_list[i]))
|
||||
continue;
|
||||
acs_chan_default = org_freq_list[i];
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user