From: Jouni Malinen Date: Sat, 11 Feb 2017 10:08:12 +0000 (+0200) Subject: Fix "IEEE 802.11: Ignored Action frame" debug message X-Git-Tag: hostap_2_7~1615 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae26d302139cdebadea113dac4d5642271b65493;p=thirdparty%2Fhostap.git 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 --- 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; }