aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-03-30 08:35:31 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-30 14:06:34 (GMT)
commit23587e39992e7967f79069b35a5854a3243173da (patch)
treec3bd1721bf5ccdca1eeb69ffee5c571331bfb8fe /hostapd
parentba7722809222194b82eb476046215d38e68e5061 (diff)
downloadhostap-23587e39992e7967f79069b35a5854a3243173da.zip
hostap-23587e39992e7967f79069b35a5854a3243173da.tar.gz
hostap-23587e39992e7967f79069b35a5854a3243173da.tar.bz2
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 <j@w1.fi>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/config_file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 8ce62aa..dc82aba 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]"))