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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2017-02-11 12:08:12 +02:00
parent 4ead4c7ecd
commit ae26d30213
1 changed files with 1 additions and 1 deletions

View 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;
}