]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita43a8f7fb972ae40f4bd043528b35afe7afafa59
treeaaac1fe9753860837d89608acc158a96dd16eb8b
parent4ce7b3ebaff069b65d1aacf2cf0e89e915cd5187
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