]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wlantest: Add debug print for ignored group addressed Action frames
authorJouni Malinen <j@w1.fi>
Sat, 13 Nov 2010 11:18:09 +0000 (13:18 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 13 Nov 2010 11:18:09 +0000 (13:18 +0200)
wlantest/rx_mgmt.c

index 4ee376c39ea5f8423a88c2948f5db9824add9f9e..4e00630e73b94d2b4fceb12c8068037b87db7c7b 100644 (file)
@@ -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;