fix(wifi): modify some SOC_WIFI_SUPPORT_5G to CONFIG_SOC_WIFI_SUPPORT_5G

This commit is contained in:
yinqingzhao
2024-09-24 13:14:51 +08:00
parent e990d1e06d
commit a8ede32979
3 changed files with 3 additions and 3 deletions
@@ -371,7 +371,7 @@ u8 get_operating_class(u8 chan, int sec_channel)
if (chan == 14)
op_class = 82;
#if SOC_WIFI_SUPPORT_5G
#if CONFIG_SOC_WIFI_SUPPORT_5G
if (chan >= 36 && chan <= 48) {
if (sec_channel == 1)
op_class = 116;