[BugFix][T106][bug-view-153][wifi] If the 5G hotspot is enabled, the country code cannot be obtained by calling qser_wifi_ap_channel_get
Only Configure: Yes
Affected branch: master
Affected module: wifi
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update:No
Change-Id: I9d1ba78fa603c159b8c422a550124c63dc8ee6c8
diff --git a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/platform/wlan_proxy/wlan_proxy.c b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/platform/wlan_proxy/wlan_proxy.c
index 7d16fde..498e319 100755
--- a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/platform/wlan_proxy/wlan_proxy.c
+++ b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/platform/wlan_proxy/wlan_proxy.c
@@ -964,8 +964,10 @@
sc_cfg_get("MAX_Access_num_5g", s_max_sta_num, sizeof(s_max_sta_num));
p_param->max_sta_num = atoi(s_max_sta_num);
- sc_cfg_get("CountryCode_5g", p_param->countrycode, sizeof(p_param->countrycode));
-
+ // zw.wang [wifi] If the 5G hotspot is enabled, the country code cannot be obtained by calling qser_wifi_ap_channel_get on 20240830 start
+ sc_cfg_get("CountryCode", p_param->countrycode, sizeof(p_param->countrycode));
+ // zw.wang [wifi] If the 5G hotspot is enabled, the country code cannot be obtained by calling qser_wifi_ap_channel_get on 20240830 start
+
sc_cfg_get("ACL_mode_5g", s_acl_rule, sizeof(s_acl_rule));
p_param->acl_rule = atoi(s_acl_rule);
if (p_param->acl_rule == 1) {