Add SSID as a separate item in AP mode Beacon setup
This makes it easier for drivers that need the SSID to get it from the Beacon setup operation without having to parse the Beacon IEs.
This commit is contained in:
parent
19c3b56685
commit
ccb941e6da
3 changed files with 14 additions and 0 deletions
|
@ -518,6 +518,8 @@ void ieee802_11_set_beacon(struct hostapd_data *hapd)
|
|||
params.tail_len = tail_len;
|
||||
params.dtim_period = hapd->conf->dtim_period;
|
||||
params.beacon_int = hapd->iconf->beacon_int;
|
||||
params.ssid = (u8 *) hapd->conf->ssid.ssid;
|
||||
params.ssid_len = hapd->conf->ssid.ssid_len;
|
||||
if (hostapd_drv_set_ap(hapd, ¶ms))
|
||||
wpa_printf(MSG_ERROR, "Failed to set beacon parameters");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue