From ad41bb2ea96664291245dcc7a2df0bd98b1e1265 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 13 Nov 2010 13:18:09 +0200 Subject: [PATCH] wlantest: Add debug print for ignored group addressed Action frames --- wlantest/rx_mgmt.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wlantest/rx_mgmt.c b/wlantest/rx_mgmt.c index 4ee376c39..4e00630e7 100644 --- a/wlantest/rx_mgmt.c +++ b/wlantest/rx_mgmt.c @@ -505,8 +505,14 @@ static void rx_mgmt_action(struct wlantest *wt, const u8 *data, size_t len, struct wlantest_sta *sta; mgmt = (const struct ieee80211_mgmt *) data; - if (mgmt->da[0] & 0x01) + if (mgmt->da[0] & 0x01) { + wpa_printf(MSG_DEBUG, "Group addressed Action frame: DA=" + MACSTR " SA=" MACSTR " BSSID=" MACSTR + " category=%u", + MAC2STR(mgmt->da), MAC2STR(mgmt->sa), + MAC2STR(mgmt->bssid), mgmt->u.action.category); return; /* Ignore group addressed Action frames for now */ + } bss = bss_get(wt, mgmt->bssid); if (bss == NULL) return;