aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/rx_mgmt.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-11-13 11:18:09 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-13 11:18:09 (GMT)
commitad41bb2ea96664291245dcc7a2df0bd98b1e1265 (patch)
treed5a8c6050ca513fbc1b2a8d0f5e7cf475b54fd66 /wlantest/rx_mgmt.c
parentf3b9ed70c5a269826d0232870788b3fdf89d4d26 (diff)
downloadhostap-ad41bb2ea96664291245dcc7a2df0bd98b1e1265.zip
hostap-ad41bb2ea96664291245dcc7a2df0bd98b1e1265.tar.gz
hostap-ad41bb2ea96664291245dcc7a2df0bd98b1e1265.tar.bz2
wlantest: Add debug print for ignored group addressed Action frames
Diffstat (limited to 'wlantest/rx_mgmt.c')
-rw-r--r--wlantest/rx_mgmt.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/wlantest/rx_mgmt.c b/wlantest/rx_mgmt.c
index 4ee376c..4e00630 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;