mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
nl80211: Add debug prints for NL80211_CMD_SET_STATION
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
731ca6364e
commit
bbc706a3c3
@ -8781,6 +8781,10 @@ static int i802_set_sta_vlan(struct i802_bss *bss, const u8 *addr,
|
|||||||
if (!msg)
|
if (!msg)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
|
wpa_printf(MSG_DEBUG, "nl80211: %s[%d]: set_sta_vlan(" MACSTR
|
||||||
|
", ifname=%s[%d], vlan_id=%d)",
|
||||||
|
bss->ifname, if_nametoindex(bss->ifname),
|
||||||
|
MAC2STR(addr), ifname, if_nametoindex(ifname), vlan_id);
|
||||||
nl80211_cmd(drv, msg, 0, NL80211_CMD_SET_STATION);
|
nl80211_cmd(drv, msg, 0, NL80211_CMD_SET_STATION);
|
||||||
|
|
||||||
NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX,
|
NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX,
|
||||||
|
Loading…
Reference in New Issue
Block a user