Skip to contentSkip to conversation

anqp: return the request ID rather than true

PATCH Applied James Prestwood 2 participants 2 messages Nov 8, 2021

lore
Share & tools
lore

James Prestwood

author
#0 lore raw

PATCH 1/1 anqp: return the request ID rather than true

---
 src/anqp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/anqp.c +1 -1
index a3c46635..8febdf91 100644
@@ -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)
Signature · 1 line
2.31.1
Applied
#1 lore raw

Hi James,

Quoted 4 lines · James Prestwood
---
  src/anqp.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Regards,
-Denis