mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
VHT: Remove a redundant check
This check is already done in ibss_mesh_setup_freq(). Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
a7a638c2c4
commit
025c6a47fb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user