DPP: Expose own and peer bootstrap info ids on authentication success
The system may be interested in knowing which bootstrap information entries are being exercised. This could be used for statistics or completion signaling to upper application layer outside of hostapd, along with the public key hash. Signed-off-by: Michal Kazior <michal@plume.com>
This commit is contained in:
parent
043dedee83
commit
e2d88f86ee
1 changed files with 3 additions and 2 deletions
|
@ -5049,8 +5049,9 @@ void dpp_notify_auth_success(struct dpp_authentication *auth, int initiator)
|
|||
hex[0] = '\0';
|
||||
}
|
||||
wpa_msg(auth->msg_ctx, MSG_INFO,
|
||||
DPP_EVENT_AUTH_SUCCESS "init=%d pkhash=%s",
|
||||
initiator, hex);
|
||||
DPP_EVENT_AUTH_SUCCESS "init=%d pkhash=%s own=%d peer=%d",
|
||||
initiator, hex, auth->own_bi ? (int) auth->own_bi->id : -1,
|
||||
auth->peer_bi ? (int) auth->peer_bi->id : -1);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue