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
1 changed files with 1 additions and 1 deletions

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,
NULL);
return true;
return request->id;
}
void anqp_cancel(uint32_t id)