From 23587e39992e7967f79069b35a5854a3243173da Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 30 Mar 2014 11:35:31 +0300 Subject: [PATCH] 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 --- hostapd/config_file.c | 2 -- 1 file changed, 2 deletions(-) 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]"))