WPS: Moved RF Bands processing into wps_dev_attr.c
This allows the RF Bands attribute to be configured and stored.
This commit is contained in:
parent
c0d041d9a7
commit
120bd30c34
9 changed files with 38 additions and 30 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue