]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix "IEEE 802.11: Ignored Action frame" debug message
authorJouni Malinen <j@w1.fi>
Sat, 11 Feb 2017 10:08:12 +0000 (12:08 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 11 Feb 2017 10:08:12 +0000 (12:08 +0200)
The arguments to printf were in incorrect order which resulted in
incorrect STA address in the debug message.

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

index d060cfad805db7929a3dfef330c664a508bbe641..e1a671203e09ec154973050d66a33c575ecb9d71 100644 (file)
@@ -3062,7 +3062,7 @@ static int handle_action(struct hostapd_data *hapd,
            (sta == NULL || !(sta->flags & WLAN_STA_ASSOC))) {
                wpa_printf(MSG_DEBUG, "IEEE 802.11: Ignored Action "
                           "frame (category=%u) from unassociated STA " MACSTR,
-                          MAC2STR(mgmt->sa), mgmt->u.action.category);
+                          mgmt->u.action.category, MAC2STR(mgmt->sa));
                return 0;
        }