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:
parent
42b4da1be2
commit
6315b42861
|
@ -1375,7 +1375,7 @@ static void netdev_deauthenticate_event(struct l_genl_msg *msg,
|
||||||
MAC_STR(hdr->address_3), reason_code);
|
MAC_STR(hdr->address_3), reason_code);
|
||||||
|
|
||||||
netdev_connect_failed(netdev, NETDEV_RESULT_AUTHENTICATION_FAILED,
|
netdev_connect_failed(netdev, NETDEV_RESULT_AUTHENTICATION_FAILED,
|
||||||
MMPDU_STATUS_CODE_UNSPECIFIED);
|
reason_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void netdev_operstate_cb(int error, uint16_t type,
|
static void netdev_operstate_cb(int error, uint16_t type,
|
||||||
|
|
Loading…
Reference in New Issue