3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

anqp: return the request ID rather than true

This commit is contained in:
James Prestwood 2021-11-08 09:24:37 -08:00 committed by Denis Kenzior
parent 0082784b49
commit f85fc4202a

View File

@ -256,7 +256,7 @@ uint32_t anqp_request(uint64_t wdev_id, const uint8_t *addr,
&anqp_frame_prefix, anqp_response_frame_event, &anqp_frame_prefix, anqp_response_frame_event,
NULL); NULL);
return true; return request->id;
} }
void anqp_cancel(uint32_t id) void anqp_cancel(uint32_t id)