]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wlantest: Print the TA of a Beacon frame for which there is no BIGTK
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 28 Sep 2022 21:03:27 +0000 (00:03 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 28 Sep 2022 21:03:27 +0000 (00:03 +0300)
This makes the debug message more useful for determining whether an
expected BIGTK has been derived.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wlantest/rx_mgmt.c

index 3372fd7081cfd26fe1a931e4943446cee62fdeed..030f1c827fa1d4cdb7803c2153af5063b5aeca67 100644 (file)
@@ -125,7 +125,9 @@ static void rx_mgmt_beacon(struct wlantest *wt, const u8 *data, size_t len)
        wpa_hexdump(MSG_MSGDUMP, "MME MIC", mme + 8, mic_len);
 
        if (!bss->igtk_len[keyid]) {
-               add_note(wt, MSG_DEBUG, "No BIGTK known to validate BIP frame");
+               add_note(wt, MSG_DEBUG,
+                        "No BIGTK known to validate BIP frame from " MACSTR,
+                        MAC2STR(mgmt->sa));
                return;
        }