[ALPS08355853][rdkb][common][hal][fix ACS with BW=80M issue]
[Description]
Fix ACS issue.
If the bandwidth is set to 20M and then 80M after the ACS is enabled, the wifi interface init fails.
The reason is that the RDK-B WiFi HAL doesn't handle the scenario of ACS (channel=0), so the parameter ht_capab=[HT40+] is missing in hostapd.conf.
[Release-log]
Feature: Wi-Fi Driver CONNAC
Change-Id: I197ec4117c9f1b2353f443ccead4d4d5d03b5199
diff --git a/src/wifi/wifi_hal.c b/src/wifi/wifi_hal.c
index d6e9969..0e698fe 100644
--- a/src/wifi/wifi_hal.c
+++ b/src/wifi/wifi_hal.c
@@ -8643,7 +8643,7 @@
0 == strcmp(ht_mode, "HT160") ||
0 == strcmp(ht_mode, "HT320")) {
switch (channel) {
- case 1 ... 7:
+ case 0 ... 7:
case 36:
case 44:
case 52: