mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
netdev: print error number on CMD_FRAME failure
This commit is contained in:
parent
cb6faed69a
commit
f98ddf2201
@ -3676,9 +3676,10 @@ static void prepare_ft(struct netdev *netdev, struct scan_bss *target_bss)
|
||||
static void netdev_ft_request_cb(struct l_genl_msg *msg, void *user_data)
|
||||
{
|
||||
struct netdev *netdev = user_data;
|
||||
int err = l_genl_msg_get_error(msg);
|
||||
|
||||
if (l_genl_msg_get_error(msg) < 0) {
|
||||
l_error("Could not send CMD_FRAME");
|
||||
if (err < 0) {
|
||||
l_error("Could not send CMD_FRAME (%d)", err);
|
||||
netdev_connect_failed(netdev,
|
||||
NETDEV_RESULT_AUTHENTICATION_FAILED,
|
||||
MMPDU_STATUS_CODE_UNSPECIFIED);
|
||||
|
Loading…
Reference in New Issue
Block a user