Fix RNR BSSID setting for own interfaces
bss->conf->bssid may be kept unset and will cause an empty BSSID field in RNR. Fix this to use own_addr instead. Signed-off-by: Shay Bar <shay.bar@celeno.com> Signed-off-by: moran.daori <moran.daori@celeno.com>
This commit is contained in:
parent
3a7fe1e213
commit
01944c0957
1 changed files with 1 additions and 1 deletions
|
@ -7516,7 +7516,7 @@ static u8 * hostapd_eid_rnr_iface(struct hostapd_data *hapd,
|
|||
break;
|
||||
|
||||
*eid++ = RNR_NEIGHBOR_AP_OFFSET_UNKNOWN;
|
||||
os_memcpy(eid, bss->conf->bssid, ETH_ALEN);
|
||||
os_memcpy(eid, bss->own_addr, ETH_ALEN);
|
||||
eid += ETH_ALEN;
|
||||
os_memcpy(eid, &bss->conf->ssid.short_ssid, 4);
|
||||
eid += 4;
|
||||
|
|
Loading…
Reference in a new issue