Skip to contentSkip to conversation

batman-adv: unify flags access style in tt global add

PATCH Applied Simon Wunderlich 2 participants 2 messages Aug 26, 2015 – Sep 6, 2015 Batman advanced

lore
Share & tools
lore

Simon Wunderlich

author maintainer
#0 lore raw

PATCH 1/1 batman-adv: unify flags access style in tt global add

This should slightly improve readability

---
 net/batman-adv/translation-table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/batman-adv/translation-table.c +1 -1
index 75bc678..b436b35 100644
@@ -1432,7 +1432,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
Signature · 1 line
2.5.0
#1 lore raw
Quoted 6 lines · On Wednesday, August 26, 2015 16:33:34 Simon Wunderlich wrote:

This should slightly improve readability

---
 net/batman-adv/translation-table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied in revision d738025.

Thanks,
Marek