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

qcacld-3.0: Fix INI force_start_sap doesn't take effect

FEATURE_WLAN_CH_AVOID_EXT isn’t defined for HMT, just defined for HSP,
so restriction_mask isn’t checked in policy_mgr_is_safe_channel, SAP
can't start on unsafe channel even INI force_start_sap=1.

Change-Id: Ie75f62d8649ac9c735a34e83b3d3d786976888bf
CRs-Fixed: 3547298
Jianmin Zhu 1 жил өмнө
parent
commit
5bc4f0107c

+ 1 - 1
configs/default_defconfig

@@ -1615,7 +1615,7 @@ CONFIG_WLAN_FEATURE_NO_STA_NAN_CONCURRENCY := n
 CONFIG_WLAN_FEATURE_NO_SAP_NAN_CONCURRENCY := n
 CONFIG_WLAN_FEATURE_NO_P2P_CONCURRENCY := n
 
-ifeq ($(CONFIG_CNSS_QCA6490), y)
+ifeq (y,$(findstring y,$(CONFIG_CNSS_QCA6490) $(CONFIG_CNSS_KIWI) $(CONFIG_CNSS_KIWI_V2)))
 CONFIG_FEATURE_WLAN_CH_AVOID_EXT := y
 endif