diff mbox series

[04/11] wispr: Add 'DBG' to '__connman_wispr_start' error path.

Message ID 20231216061223.2199037-5-gerickson@nuovations.com (mailing list archive)
State Not Applicable, archived
Headers show
Series service/wispr: Add Per-service-unique WISPr Host Route Metric/Priority | expand

Commit Message

Grant Erickson Dec. 16, 2023, 6:12 a.m. UTC
This adds a 'DBG' to the '__connman_wispr_start' error path that
includes both the error and the WISPr portal context associated with
the error.
---
 src/wispr.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/src/wispr.c b/src/wispr.c
index ba774a62dd48..19af1e7bede2 100644
--- a/src/wispr.c
+++ b/src/wispr.c
@@ -1338,6 +1338,8 @@  int __connman_wispr_start(struct connman_service *service,
 	return 0;
 
 free_wp:
+	DBG("err %d wp_context %p", err, wp_context);
+
 	wp_context->cb(wp_context->service, wp_context->type, false, err);
 
 	g_hash_table_remove(wispr_portal_hash, GINT_TO_POINTER(index));