anqp: return the request ID rather than true
This commit is contained in:
parent
0082784b49
commit
f85fc4202a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue