commit f85fc4202a6b816c9b13c6d58844cf1435039c47
parent 0082784b49b6924913b9b01abce403d65a6ec611
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 8 Nov 2021 09:24:37 -0800
anqp: return the request ID rather than true
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)