aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hw_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ap/hw_features.c')
-rw-r--r--src/ap/hw_features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c
index 3607066..16887ac 100644
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
@@ -329,6 +329,7 @@ static void ieee80211n_check_scan(struct hostapd_iface *iface)
res = ieee80211n_allowed_ht40_channel_pair(iface);
if (!res) {
iface->conf->secondary_channel = 0;
+ res = 1;
wpa_printf(MSG_INFO, "Fallback to 20 MHz");
}