From ae26d302139cdebadea113dac4d5642271b65493 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 11 Feb 2017 12:08:12 +0200 Subject: [PATCH] Fix "IEEE 802.11: Ignored Action frame" debug message The arguments to printf were in incorrect order which resulted in incorrect STA address in the debug message. Signed-off-by: Jouni Malinen --- src/ap/ieee802_11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index d060cfad8..e1a671203 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -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; }