From: Jouni Malinen Date: Sat, 13 Nov 2010 11:18:09 +0000 (+0200) Subject: wlantest: Add debug print for ignored group addressed Action frames X-Git-Tag: hostap-1-bp~822 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad41bb2ea96664291245dcc7a2df0bd98b1e1265;p=thirdparty%2Fhostap.git wlantest: Add debug print for ignored group addressed Action frames --- 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;