projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
P2P: Send received Presence Response information to ctrl_iface monitors
[mech_eap.git]
/
src
/
p2p
/
p2p.c
diff --git
a/src/p2p/p2p.c
b/src/p2p/p2p.c
index
23b74c0
..
2a13736
100644
(file)
--- a/
src/p2p/p2p.c
+++ b/
src/p2p/p2p.c
@@
-3770,6
+3770,11
@@
static void p2p_process_presence_resp(struct p2p_data *p2p, const u8 *da,
return;
}
+ if (p2p->cfg->presence_resp) {
+ p2p->cfg->presence_resp(p2p->cfg->cb_ctx, sa, *msg.status,
+ msg.noa, msg.noa_len);
+ }
+
if (*msg.status) {
p2p_dbg(p2p, "P2P Presence Request was rejected: status %u",
*msg.status);