3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:19:34 +01:00

netdev: use reason code from netdev_deauthenticate_event

The reason code was not being passed to netdev_connect_failed as
it should have been.
This commit is contained in:
James Prestwood 2024-02-13 10:09:02 -08:00 committed by Denis Kenzior
parent 42b4da1be2
commit 6315b42861

View File

@ -1375,7 +1375,7 @@ static void netdev_deauthenticate_event(struct l_genl_msg *msg,
MAC_STR(hdr->address_3), reason_code);
netdev_connect_failed(netdev, NETDEV_RESULT_AUTHENTICATION_FAILED,
MMPDU_STATUS_CODE_UNSPECIFIED);
reason_code);
}
static void netdev_operstate_cb(int error, uint16_t type,