3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

netdev: Skip IE processing of no request IEs sent

This commit is contained in:
Denis Kenzior 2019-10-17 17:30:11 -05:00
parent aa75b3e06e
commit a043f26134

View File

@ -1668,6 +1668,8 @@ static void netdev_connect_event(struct l_genl_msg *msg, struct netdev *netdev)
if (!status_code || *status_code != 0)
goto error;
if (!ies)
goto process_resp_ies;
/*
* The driver may have modified the IEs we passed to CMD_CONNECT
* before sending them out, the actual IE sent is reflected in the
@ -1696,6 +1698,7 @@ static void netdev_connect_event(struct l_genl_msg *msg, struct netdev *netdev)
}
}
process_resp_ies:
if (resp_ies) {
const uint8_t *fte = NULL;
const uint8_t *qos_set = NULL;