--- a/src/ap/hw_features.c 2021-06-08 21:57:10.333932391 +0200 +++ b/src/ap/hw_features.c 2021-06-08 22:00:14.910183739 +0200 @@ -310,6 +310,7 @@ wpa_scan_results_free(scan_res); iface->secondary_ch = iface->conf->secondary_channel; + oper40=1; if (!oper40) { wpa_printf(MSG_INFO, "20/40 MHz operation not permitted on " "channel pri=%d sec=%d based on overlapping BSSes",