mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 02:37:19 +02:00
wpa_supplicant: Fix compilation error when debug enabled
Closes https://github.com/espressif/esp-idf/issues/7789
This commit is contained in:
@ -1948,7 +1948,7 @@ int wpa_sm_rx_eapol(u8 *src_addr, u8 *buf, u32 len)
|
||||
if (key_data_len > plen - keyhdrlen) {
|
||||
#ifdef DEBUG_PRINT
|
||||
wpa_printf(MSG_DEBUG, "WPA: Invalid EAPOL-Key "
|
||||
"frame - key_data overflow (%d > %lu)",
|
||||
"frame - key_data overflow (%u > %u)",
|
||||
(unsigned int) key_data_len,
|
||||
(unsigned int) (plen - keyhdrlen));
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user