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:
parent
295e42f87a
commit
f21d1aa78b
@ -170,6 +170,8 @@ static int eap_extensions_handle_cryptobinding_tlv(struct eap_state *eap,
|
|||||||
uint8_t buf[61];
|
uint8_t buf[61];
|
||||||
uint8_t imck[60];
|
uint8_t imck[60];
|
||||||
|
|
||||||
|
l_debug();
|
||||||
|
|
||||||
if (tlv_value_len != cryptobinding_val_len)
|
if (tlv_value_len != cryptobinding_val_len)
|
||||||
return -EBADMSG;
|
return -EBADMSG;
|
||||||
|
|
||||||
@ -405,8 +407,11 @@ static void eap_extensions_handle_request(struct eap_state *eap,
|
|||||||
&response[EAP_EXTENSIONS_HEADER_LEN],
|
&response[EAP_EXTENSIONS_HEADER_LEN],
|
||||||
&result);
|
&result);
|
||||||
|
|
||||||
if (response_len < 0)
|
if (response_len < 0) {
|
||||||
|
l_debug("PEAP: Failed to process TLVs %d", response_len);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
response_len += EAP_EXTENSIONS_HEADER_LEN;
|
response_len += EAP_EXTENSIONS_HEADER_LEN;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user