DPP: Allow Controller to initiate PKEX through Relay
Relay will need to allow the PKEX Exchange Response message to be handled similarly to the Authentication Response message to allow this sequence to be completed successfully. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
15af83cf18
commit
fb2937b858
1 changed files with 2 additions and 1 deletions
|
@ -571,7 +571,8 @@ int dpp_relay_rx_action(struct dpp_global *dpp, const u8 *src, const u8 *hdr,
|
||||||
if (os_memcmp(src, conn->mac_addr,
|
if (os_memcmp(src, conn->mac_addr,
|
||||||
ETH_ALEN) == 0)
|
ETH_ALEN) == 0)
|
||||||
return dpp_relay_tx(conn, hdr, buf, len);
|
return dpp_relay_tx(conn, hdr, buf, len);
|
||||||
if (type == DPP_PA_AUTHENTICATION_RESP &&
|
if ((type == DPP_PA_PKEX_EXCHANGE_RESP ||
|
||||||
|
type == DPP_PA_AUTHENTICATION_RESP) &&
|
||||||
conn->freq == 0 &&
|
conn->freq == 0 &&
|
||||||
is_broadcast_ether_addr(conn->mac_addr)) {
|
is_broadcast_ether_addr(conn->mac_addr)) {
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
|
|
Loading…
Reference in a new issue