]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
VHT: Remove a redundant check
authorMasashi Honma <masashi.honma@gmail.com>
Tue, 14 Feb 2017 05:13:44 +0000 (14:13 +0900)
committerJouni Malinen <j@w1.fi>
Sun, 19 Feb 2017 14:01:17 +0000 (16:01 +0200)
This check is already done in ibss_mesh_setup_freq().

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
wpa_supplicant/wpa_supplicant.c

index 926b80752dbca58c95aef79fbb3058dcd818cbcb..10c17929ef2a9acedf08c15671d1c68bebb49c0c 100644 (file)
@@ -1873,11 +1873,6 @@ static int drv_supports_vht(struct wpa_supplicant *wpa_s,
        u8 channel;
        int i;
 
-#ifdef CONFIG_HT_OVERRIDES
-       if (ssid->disable_ht)
-               return 0;
-#endif /* CONFIG_HT_OVERRIDES */
-
        hw_mode = ieee80211_freq_to_chan(ssid->frequency, &channel);
        if (hw_mode == NUM_HOSTAPD_MODES)
                return 0;