mirror of
https://github.com/ipxe/ipxe
synced 2025-12-12 23:15:10 +03:00
[wpa] Fix erroneous debug message in wpa_derive_ptk
Split debug message since eth_ntoa() uses a static result buffer. Originally-fixed-by: Michael Bazzinotti <bazz@bazz1.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -304,8 +304,9 @@ static void wpa_derive_ptk ( struct wpa_common_ctx *ctx )
|
||||
memcpy ( ptk_data.nonce2, ctx->Anonce, WPA_NONCE_LEN );
|
||||
}
|
||||
|
||||
DBGC2 ( ctx, "WPA %p A1 %s, A2 %s\n", ctx, eth_ntoa ( ptk_data.mac1 ),
|
||||
eth_ntoa ( ptk_data.mac2 ) );
|
||||
DBGC2 ( ctx, "WPA %p A1 %s", ctx, eth_ntoa ( ptk_data.mac1 ) );
|
||||
DBGC2 ( ctx, ", A2 %s\n", eth_ntoa ( ptk_data.mac2 ) );
|
||||
|
||||
DBGC2 ( ctx, "WPA %p Nonce1, Nonce2:\n", ctx );
|
||||
DBGC2_HD ( ctx, ptk_data.nonce1, WPA_NONCE_LEN );
|
||||
DBGC2_HD ( ctx, ptk_data.nonce2, WPA_NONCE_LEN );
|
||||
|
||||
Reference in New Issue
Block a user