commit 6315b4286184257c5de05b12916b61536b48904a
parent 42b4da1be2cfd5017273ec0cfa379b73aaaaaf77
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 13 Feb 2024 10:09:02 -0800
netdev: use reason code from netdev_deauthenticate_event
The reason code was not being passed to netdev_connect_failed as
it should have been.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/netdev.c b/src/netdev.c
@@ -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,