From: Johannes Berg Date: Wed, 22 Aug 2018 16:49:03 +0000 (+0300) Subject: RSN: Use COMPACT_MACSTR to match MAC2STR X-Git-Tag: hostap_2_7~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94919da24d3499acee4399497ccf97c1e3706f27;p=thirdparty%2Fhostap.git RSN: Use COMPACT_MACSTR to match MAC2STR We shouldn't open-code the %02x... when we have COMPACT_MACSTR. Signed-off-by: Johannes Berg --- diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index 8e95cbdc0..e0c913074 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -1007,7 +1007,7 @@ static int wpa_supplicant_install_igtk(struct wpa_sm *sm, } wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG, - "WPA: IGTK keyid %d pn %02x%02x%02x%02x%02x%02x", + "WPA: IGTK keyid %d pn " COMPACT_MACSTR, keyidx, MAC2STR(igtk->pn)); wpa_hexdump_key(MSG_DEBUG, "WPA: IGTK", igtk->igtk, len); if (keyidx > 4095) {