Эх сурвалжийг харах

qcacld-3.0: Fix overlapping channel selection in ACS

The enableOverLapCh is not populated from HDD context, So sap_filter_over_lap_ch
function always filter overlapping channel causing ACS to select only
non-overlapping channel.

Populate enableOverLapCh from HDD context to SAP context.

Change-Id: I99b1ada48573e8b03ab42a94d98f92f7b0b0e871
CRs-Fixed: 1055071
Arif Hussain 8 жил өмнө
parent
commit
1b21e81150

+ 1 - 0
core/hdd/src/wlan_hdd_hostapd.c

@@ -7618,6 +7618,7 @@ int wlan_hdd_cfg80211_start_bss(hdd_adapter_t *pHostapdAdapter,
 	/* Protection parameter to enable or disable */
 	pConfig->protEnabled = iniConfig->apProtEnabled;
 
+	pConfig->enOverLapCh = iniConfig->gEnableOverLapCh;
 	pConfig->dtim_period = pBeacon->dtim_period;
 
 	hdd_info("****pConfig->dtim_period=%d***",