aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-29 10:59:43 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-29 10:59:43 (GMT)
commit120bd30c34bebd76bcbb3a888fbaec0cf314f7ba (patch)
tree0ffa3b372df7f833c7790697b5bc06b92d287141 /wpa_supplicant
parentc0d041d9a7518240ab2e829d6f4f1b1b2c3eb8cd (diff)
downloadhostap-06-120bd30c34bebd76bcbb3a888fbaec0cf314f7ba.zip
hostap-06-120bd30c34bebd76bcbb3a888fbaec0cf314f7ba.tar.gz
hostap-06-120bd30c34bebd76bcbb3a888fbaec0cf314f7ba.tar.bz2
WPS: Moved RF Bands processing into wps_dev_attr.c
This allows the RF Bands attribute to be configured and stored.
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wps_supplicant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 7789b06..8a91a04 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -197,6 +197,8 @@ int wpas_wps_init(struct wpa_supplicant *wpa_s)
wps->dev.categ = WPS_DEV_COMPUTER;
wps->dev.oui = WPS_DEV_OUI_WFA;
wps->dev.sub_categ = WPS_DEV_COMPUTER_PC;
+ wps->dev.os_version = 0;
+ wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ;
os_memcpy(wps->dev.mac_addr, wpa_s->own_addr, ETH_ALEN);
os_memcpy(wps->uuid, wpa_s->conf->uuid, 16);