DPP: Fix msg_ctx for PKEX over TCP as Controller/Responder
PKEX Exchange Request handling in Controller used incorrect msg_ctx pointer and that could result in event messages causing unexpected behavior. Fix this by registering the correct msg_ctx pointer for these cases. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
3085e1a671
commit
b93d1083ee
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ static int dpp_controller_rx_pkex_exchange_req(struct dpp_connection *conn,
|
|||
return 0;
|
||||
}
|
||||
|
||||
conn->pkex = dpp_pkex_rx_exchange_req(conn->ctrl->global, ctrl->pkex_bi,
|
||||
conn->pkex = dpp_pkex_rx_exchange_req(conn->msg_ctx, ctrl->pkex_bi,
|
||||
NULL, NULL,
|
||||
ctrl->pkex_identifier,
|
||||
ctrl->pkex_code,
|
||||
|
|
Loading…
Add table
Reference in a new issue