From: Masashi Honma Date: Tue, 14 Feb 2017 05:13:44 +0000 (+0900) Subject: VHT: Remove a redundant check X-Git-Tag: hostap_2_7~1568 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=025c6a47fb7936599661efc4e0e61da61ed08ab3;p=thirdparty%2Fhostap.git VHT: Remove a redundant check This check is already done in ibss_mesh_setup_freq(). Signed-off-by: Masashi Honma --- diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index 926b80752..10c17929e 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -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;