mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-31 01:04:03 -05:00
nl80211: Use current command for NL80211_CMD_REGISTER_ACTION
This was renamed to NL80211_CMD_REGISTER_FRAME long time ago. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
81ae8820a6
commit
d5798e43f5
@ -2108,7 +2108,7 @@ static int nl80211_register_frame(struct i802_bss *bss,
|
||||
wpa_printf(MSG_DEBUG, "nl80211: Register frame type=0x%x (%s) nl_handle=%p match=%s",
|
||||
type, fc2str(type), nl_handle, buf);
|
||||
|
||||
if (!(msg = nl80211_cmd_msg(bss, 0, NL80211_CMD_REGISTER_ACTION)) ||
|
||||
if (!(msg = nl80211_cmd_msg(bss, 0, NL80211_CMD_REGISTER_FRAME)) ||
|
||||
nla_put_u16(msg, NL80211_ATTR_FRAME_TYPE, type) ||
|
||||
nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) {
|
||||
nlmsg_free(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user