3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

peap: Add debug statements

This commit is contained in:
Tim Kourt 2019-12-13 11:32:51 -08:00 committed by Denis Kenzior
parent 295e42f87a
commit f21d1aa78b

View File

@ -170,6 +170,8 @@ static int eap_extensions_handle_cryptobinding_tlv(struct eap_state *eap,
uint8_t buf[61];
uint8_t imck[60];
l_debug();
if (tlv_value_len != cryptobinding_val_len)
return -EBADMSG;
@ -405,8 +407,11 @@ static void eap_extensions_handle_request(struct eap_state *eap,
&response[EAP_EXTENSIONS_HEADER_LEN],
&result);
if (response_len < 0)
if (response_len < 0) {
l_debug("PEAP: Failed to process TLVs %d", response_len);
return;
}
response_len += EAP_EXTENSIONS_HEADER_LEN;