batman-adv: move GW mode and selection class to private data structure
authorAntonio Quartulli <a@unstable.cc>
Thu, 5 May 2016 18:46:38 +0000 (02:46 +0800)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 30 Jun 2016 08:29:43 +0000 (10:29 +0200)
commit3a24a63e74af1bffc7aeb5d83adcd63b37e38425
treeaaac1fe9753860837d89608acc158a96dd16eb8b
parentc149ca72e58ac511ad8bf71df833efa9764115a4
batman-adv: move GW mode and selection class to private data structure

To reduce the field pollution in our main batadv_priv data structure
we've already created some substructures so that we could group fields
in a convenient manner.

However gw_mode and gw_sel_class are still part of the main object.

More both fields to the GW private substructure.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/gateway_client.c
net/batman-adv/gateway_common.c
net/batman-adv/soft-interface.c
net/batman-adv/sysfs.c
net/batman-adv/types.h