diff --git a/src/ap/ieee802_11_ht.c b/src/ap/ieee802_11_ht.c index 31dc47edd..a16617833 100644 --- a/src/ap/ieee802_11_ht.c +++ b/src/ap/ieee802_11_ht.c @@ -139,7 +139,6 @@ int hostapd_ht_operation_update(struct hostapd_iface *iface) op_mode_changes++; } - new_op_mode = 0; if (iface->num_sta_no_ht) new_op_mode = OP_MODE_MIXED; else if (iface->conf->secondary_channel && iface->num_sta_ht_20mhz)