--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
@@ -443,6 +443,7 @@ static void ieee80211n_check_scan(struct hostapd_iface *iface)
                           iface->conf->channel +
                           iface->conf->secondary_channel * 4);
                iface->conf->secondary_channel = 0;
+               iface->conf->orig_secondary_channel = 0;
        }
 
        res = ieee80211n_allowed_ht40_channel_pair(iface);
