All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] peap: Add debug statements
@ 2019-12-13 19:32 Tim Kourt
  2019-12-17 17:08 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Kourt @ 2019-12-13 19:32 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

---
 src/eap-peap.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/eap-peap.c b/src/eap-peap.c
index 5de6e862..ee71514a 100644
--- a/src/eap-peap.c
+++ b/src/eap-peap.c
@@ -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;
 
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] peap: Add debug statements
  2019-12-13 19:32 [PATCH] peap: Add debug statements Tim Kourt
@ 2019-12-17 17:08 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2019-12-17 17:08 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]

Hi Tim,

On 12/13/19 1:32 PM, Tim Kourt wrote:
> ---
>   src/eap-peap.c | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
> 

Applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-17 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 19:32 [PATCH] peap: Add debug statements Tim Kourt
2019-12-17 17:08 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.