Skip to contentSkip to conversation

batman-adv: fix arguments order when calling tt_local_add

PATCH Applied Antonio Quartulli 2 participants 2 messages Oct 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batman-adv: fix arguments order when calling tt_local_add

Introduced by c018ad3de61a1dc4194879a53e5559e094aa7b1a ("batman-adv: add the VLAN ID attribute to the TT entry")

---
 soft-interface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
soft-interface.c +2 -2
index a1f00e8..36f0508 100644
@@ -120,8 +120,8 @@ static int batadv_interface_set_mac_addr(struct net_device *dev, void *p)
 	if (atomic_read(&bat_priv->mesh_state) == BATADV_MESH_ACTIVE) {
 		batadv_tt_local_remove(bat_priv, old_addr, BATADV_NO_FLAGS,
 				       "mac address changed", false);
-		batadv_tt_local_add(dev, addr->sa_data, BATADV_NULL_IFINDEX,
-				    BATADV_NO_FLAGS);
+		batadv_tt_local_add(dev, addr->sa_data, BATADV_NO_FLAGS,
+				    BATADV_NULL_IFINDEX);
 	}
 
 	return 0;
Signature · 1 line
1.8.4
#1 lore raw
Quoted 7 lines · On Saturday 19 October 2013 15:23:42 Antonio Quartulli wrote:

Introduced by c018ad3de61a1dc4194879a53e5559e094aa7b1a ("batman-adv: add the VLAN ID attribute to the TT entry")

---
 soft-interface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied in revision 148fc50.

Thanks,
Marek