]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Use current command for NL80211_CMD_REGISTER_ACTION
authorJouni Malinen <j@w1.fi>
Fri, 3 Jan 2020 13:26:31 +0000 (15:26 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 3 Jan 2020 13:26:31 +0000 (15:26 +0200)
This was renamed to NL80211_CMD_REGISTER_FRAME long time ago.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c

index c7c4042a6c097270d5de735b2d02be97ef10f0c4..3d63790ddad998d5eecbdb343a70fc8b1d193daa 100644 (file)
@@ -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);