DPP: Debug print if not relay is available for PKEX exchange
This makes it easier to see what happened with the received PKEX frame. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1739d50c20
commit
fc9648a6a1
1 changed files with 5 additions and 3 deletions
|
@ -2064,9 +2064,11 @@ hostapd_dpp_rx_pkex_exchange_req(struct hostapd_data *hapd, const u8 *src,
|
|||
|
||||
try_relay:
|
||||
#ifdef CONFIG_DPP2
|
||||
if (v2)
|
||||
dpp_relay_rx_action(hapd->iface->interfaces->dpp,
|
||||
src, hdr, buf, len, freq, NULL, NULL, hapd);
|
||||
if (v2 && dpp_relay_rx_action(hapd->iface->interfaces->dpp,
|
||||
src, hdr, buf, len, freq, NULL, NULL,
|
||||
hapd) != 0)
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"DPP: No Relay available for the message");
|
||||
#else /* CONFIG_DPP2 */
|
||||
wpa_printf(MSG_DEBUG, "DPP: No relay functionality included - skip");
|
||||
#endif /* CONFIG_DPP2 */
|
||||
|
|
Loading…
Reference in a new issue