From: Jouni Malinen Date: Sun, 30 Mar 2014 08:35:31 +0000 (+0300) Subject: Remove duplicated vht_capab parser entry X-Git-Tag: hostap_2_2~414 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23587e39992e7967f79069b35a5854a3243173da;p=thirdparty%2Fhostap.git Remove duplicated vht_capab parser entry [VHT160-80PLUS80] was parsed twice with the second copy not really doing anything useful. Signed-off-by: Jouni Malinen --- diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 8ce62aa3c..dc82aba4c 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -1093,8 +1093,6 @@ static int hostapd_config_vht_capab(struct hostapd_config *conf, conf->vht_capab |= VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; if (os_strstr(capab, "[VHT160-80PLUS80]")) conf->vht_capab |= VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ; - if (os_strstr(capab, "[VHT160-80PLUS80]")) - conf->vht_capab |= VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ; if (os_strstr(capab, "[RXLDPC]")) conf->vht_capab |= VHT_CAP_RXLDPC; if (os_strstr(capab, "[SHORT-GI-80]"))