From f85fc4202a6b816c9b13c6d58844cf1435039c47 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 8 Nov 2021 09:24:37 -0800 Subject: [PATCH] anqp: return the request ID rather than true --- src/anqp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anqp.c b/src/anqp.c index a3c46635..8febdf91 100644 --- a/src/anqp.c +++ b/src/anqp.c @@ -256,7 +256,7 @@ uint32_t anqp_request(uint64_t wdev_id, const uint8_t *addr, &anqp_frame_prefix, anqp_response_frame_event, NULL); - return true; + return request->id; } void anqp_cancel(uint32_t id)