]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Add debug prints for NL80211_CMD_SET_STATION
authorJouni Malinen <j@w1.fi>
Tue, 29 Oct 2013 22:37:47 +0000 (00:37 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 29 Oct 2013 22:38:57 +0000 (00:38 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/drivers/driver_nl80211.c

index 79ab3dfb501fa0d3107670efc1172c0e6612ca49..72564e7f6344c6f7347aeedf84f4ad4d344384b9 100644 (file)
@@ -8781,6 +8781,10 @@ static int i802_set_sta_vlan(struct i802_bss *bss, const u8 *addr,
        if (!msg)
                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);
 
        NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX,