ソースを参照

qcacld-3.0: Check MKKN for JP for preferred location

DFS region MKKN was added to JP, add MKKN checking to
enable the SAP preferred location INI setting.

Change-Id: Ied1e961bd4067946dda131c923e8590f8fe79ae5
CRs-Fixed: 2927114
Liangwei Dong 4 年 前
コミット
9b047dac2c
1 ファイル変更4 行追加3 行削除
  1. 4 3
      core/sap/src/sap_module.c

+ 4 - 3
core/sap/src/sap_module.c

@@ -2032,10 +2032,11 @@ wlansap_set_dfs_preferred_channel_location(mac_handle_t mac_handle)
 	 */
 	ucfg_mlme_get_pref_chan_location(mac->psoc,
 					 &dfs_preferred_channels_location);
-	sap_debug("dfs_preferred_channels_location %d",
-		  dfs_preferred_channels_location);
+	sap_debug("dfs_preferred_channels_location %d dfs region %d",
+		  dfs_preferred_channels_location, dfs_region);
 
-	if (DFS_MKK_REGION == dfs_region) {
+	if (dfs_region == DFS_MKK_REGION ||
+	    dfs_region == DFS_MKKN_REGION) {
 		mac->sap.SapDfsInfo.sap_operating_chan_preferred_location =
 			dfs_preferred_channels_location;
 		sap_debug("sapdfs:Set Preferred Operating Channel location=%d",