mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
netdev: Remove redundant associate_msg
This commit is contained in:
parent
c977b8092c
commit
de6dddce76
@ -61,7 +61,6 @@ struct netdev {
|
|||||||
netdev_connect_cb_t connect_cb;
|
netdev_connect_cb_t connect_cb;
|
||||||
netdev_disconnect_cb_t disconnect_cb;
|
netdev_disconnect_cb_t disconnect_cb;
|
||||||
void *user_data;
|
void *user_data;
|
||||||
struct l_genl_msg *associate_msg;
|
|
||||||
struct eapol_sm *sm;
|
struct eapol_sm *sm;
|
||||||
struct l_io *eapol_io;
|
struct l_io *eapol_io;
|
||||||
uint8_t remote_addr[ETH_ALEN];
|
uint8_t remote_addr[ETH_ALEN];
|
||||||
@ -289,11 +288,6 @@ static void netdev_shutdown_one(void *data, void *user_data)
|
|||||||
netdev->eapol_io = NULL;
|
netdev->eapol_io = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (netdev->associate_msg) {
|
|
||||||
l_genl_msg_unref(netdev->associate_msg);
|
|
||||||
netdev->associate_msg = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
netdev_set_linkmode_and_operstate(netdev->index, 0, IF_OPER_DOWN,
|
netdev_set_linkmode_and_operstate(netdev->index, 0, IF_OPER_DOWN,
|
||||||
netdev_operstate_down_cb,
|
netdev_operstate_down_cb,
|
||||||
L_UINT_TO_PTR(netdev->index));
|
L_UINT_TO_PTR(netdev->index));
|
||||||
|
Loading…
Reference in New Issue
Block a user