summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Wunderlich <sw@simonwunderlich.de>2015-08-26 17:33:34 +0300
committerAntonio Quartulli <a@unstable.cc>2015-12-16 10:17:08 +0300
commitad7e2c466d8b0a7056cd248e1df6bb7296e014f7 (patch)
tree02eeaaff0e765f74231d783c42834886ab54ebb1 /net
parentc169c59dd5177de2befcd5aa2cee9a1c8abeff61 (diff)
downloadlinux-ad7e2c466d8b0a7056cd248e1df6bb7296e014f7.tar.xz
batman-adv: unify flags access style in tt global add
This should slightly improve readability Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net')
-rw-r--r--net/batman-adv/translation-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index 17822de78ba3..5cf431177f34 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -1435,7 +1435,7 @@ static bool batadv_tt_global_add(struct batadv_priv *bat_priv,
* TT_CLIENT_WIFI, therefore they have to be copied in the
* client entry
*/
- tt_global_entry->common.flags |= flags;
+ common->flags |= flags;
/* If there is the BATADV_TT_CLIENT_ROAM flag set, there is only
* one originator left in the list and we previously received a