From 105f5f8d8e030669b56f77d4832d28f0d582df47 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 24 Jun 2016 23:03:13 -0500 Subject: [PATCH] netdev: Rearrange netdev structure Keep flags co-located --- src/netdev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/netdev.c b/src/netdev.c index 247c7041..c67320d3 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -53,8 +53,6 @@ struct netdev { char name[IFNAMSIZ]; uint32_t type; uint8_t addr[ETH_ALEN]; - bool up:1; - struct l_io *eapol_io; netdev_event_func_t event_filter; @@ -64,14 +62,15 @@ struct netdev { struct l_genl_msg *associate_msg; struct eapol_sm *sm; uint8_t remote_addr[ETH_ALEN]; - uint32_t pairwise_new_key_cmd_id; uint32_t pairwise_set_key_cmd_id; uint32_t group_new_key_cmd_id; struct l_queue *watches; uint32_t next_watch_id; + bool rekey_offload_support : 1; + bool up:1; }; struct netdev_watch {