diff --git a/src/netdev.c b/src/netdev.c index 2b3925dc..48fb15df 100644 --- 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,