aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/vis.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-02-18 07:33:20 -0500
committerMarek Lindner <lindner_marek@yahoo.de>2011-03-05 06:52:06 -0500
commite6c10f433af9c98994c94a10ae862c152fcfb2a9 (patch)
tree56b4a82b83da44f7c3657a283c92c5cc8e248b9f /net/batman-adv/vis.c
parent4389e47af856635eb17d03b2572a50576c12db24 (diff)
batman-adv: rename batman_if struct to hard_iface
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/vis.c')
-rw-r--r--net/batman-adv/vis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/vis.c b/net/batman-adv/vis.c
index e8911cbb8699..3da499baf591 100644
--- a/net/batman-adv/vis.c
+++ b/net/batman-adv/vis.c
@@ -730,7 +730,7 @@ static void broadcast_vis_packet(struct bat_priv *bat_priv,
730 struct orig_node *orig_node; 730 struct orig_node *orig_node;
731 struct vis_packet *packet; 731 struct vis_packet *packet;
732 struct sk_buff *skb; 732 struct sk_buff *skb;
733 struct batman_if *batman_if; 733 struct hard_iface *hard_iface;
734 uint8_t dstaddr[ETH_ALEN]; 734 uint8_t dstaddr[ETH_ALEN];
735 int i; 735 int i;
736 736
@@ -755,12 +755,12 @@ static void broadcast_vis_packet(struct bat_priv *bat_priv,
755 continue; 755 continue;
756 756
757 memcpy(packet->target_orig, orig_node->orig, ETH_ALEN); 757 memcpy(packet->target_orig, orig_node->orig, ETH_ALEN);
758 batman_if = orig_node->router->if_incoming; 758 hard_iface = orig_node->router->if_incoming;
759 memcpy(dstaddr, orig_node->router->addr, ETH_ALEN); 759 memcpy(dstaddr, orig_node->router->addr, ETH_ALEN);
760 760
761 skb = skb_clone(info->skb_packet, GFP_ATOMIC); 761 skb = skb_clone(info->skb_packet, GFP_ATOMIC);
762 if (skb) 762 if (skb)
763 send_skb_packet(skb, batman_if, dstaddr); 763 send_skb_packet(skb, hard_iface, dstaddr);
764 764
765 } 765 }
766 rcu_read_unlock(); 766 rcu_read_unlock();