]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Change QoS Map configuration to be per bss, not radio
authorEran Gonen <egonen@maxlinear.com>
Sun, 30 Jul 2023 06:46:01 +0000 (06:46 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 28 Oct 2023 16:54:41 +0000 (19:54 +0300)
Previously the NL80211_CMD_SET_QOS_MAP command was sent to the radio
interface. Send this command using nl80211_cmd_msg() and the bss,
instead of drv.

Signed-off-by: Arnon Meydav <ameydav@maxlinear.com>
src/drivers/driver_nl80211.c

index 9bd6a58e0a6cda968d91d091c5f5bacc802ff278..a375c74f7410dea0d9e17f6b238d2069c21819e6 100644 (file)
@@ -11340,7 +11340,7 @@ static int nl80211_set_qos_map(void *priv, const u8 *qos_map_set,
        wpa_hexdump(MSG_DEBUG, "nl80211: Setting QoS Map",
                    qos_map_set, qos_map_set_len);
 
-       if (!(msg = nl80211_drv_msg(drv, 0, NL80211_CMD_SET_QOS_MAP)) ||
+       if (!(msg = nl80211_cmd_msg(bss, 0, NL80211_CMD_SET_QOS_MAP)) ||
            nla_put(msg, NL80211_ATTR_QOS_MAP, qos_map_set_len, qos_map_set)) {
                nlmsg_free(msg);
                return -ENOBUFS;