WPS: Remove static-WEP-only workaround
WEP provisioning was removed from WPS v2, so this workaround functionality has not been applicable. Remove it completely. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
886ee6775f
commit
bca44f4e4e
3 changed files with 0 additions and 31 deletions
|
@ -1260,8 +1260,6 @@ int hostapd_init_wps(struct hostapd_data *hapd,
|
|||
cfg.extra_cred_len = conf->extra_cred_len;
|
||||
cfg.disable_auto_conf = (hapd->conf->wps_cred_processing == 1) &&
|
||||
conf->skip_cred_build;
|
||||
if (conf->ssid.security_policy == SECURITY_STATIC_WEP)
|
||||
cfg.static_wep_only = 1;
|
||||
cfg.dualband = interface_count(hapd->iface) > 1;
|
||||
if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==
|
||||
(WPS_RF_50GHZ | WPS_RF_24GHZ))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue