mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
nl80211: Add IBSS BSSID fixing support
If a BSSID and fixed-bssid are requested, fix the BSSID, so the driver does not attempt to merge. Signed-hostap: Nicolas Cavallari <cavallar@lri.fr>
This commit is contained in:
parent
9e2af29f9b
commit
913e3cf794
@ -6421,6 +6421,12 @@ retry:
|
||||
if (ret)
|
||||
goto nla_put_failure;
|
||||
|
||||
if (params->bssid && params->fixed_bssid) {
|
||||
wpa_printf(MSG_DEBUG, " * BSSID=" MACSTR,
|
||||
MAC2STR(params->bssid));
|
||||
NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid);
|
||||
}
|
||||
|
||||
if (params->wpa_ie) {
|
||||
wpa_hexdump(MSG_DEBUG,
|
||||
" * Extra IEs for Beacon/Probe Response frames",
|
||||
|
Loading…
Reference in New Issue
Block a user