aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r--net/batman-adv/hard-interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c
index db7aacf1e09..0d73e1e9e3d 100644
--- a/net/batman-adv/hard-interface.c
+++ b/net/batman-adv/hard-interface.c
@@ -249,7 +249,7 @@ static void hardif_activate_interface(struct hard_iface *hard_iface)
249 249
250 /** 250 /**
251 * the first active interface becomes our primary interface or 251 * the first active interface becomes our primary interface or
252 * the next active interface after the old primay interface was removed 252 * the next active interface after the old primary interface was removed
253 */ 253 */
254 primary_if = primary_if_get_selected(bat_priv); 254 primary_if = primary_if_get_selected(bat_priv);
255 if (!primary_if) 255 if (!primary_if)
@@ -573,7 +573,7 @@ out:
573 return NOTIFY_DONE; 573 return NOTIFY_DONE;
574} 574}
575 575
576/* receive a packet with the batman ethertype coming on a hard 576/* incoming packets with the batman ethertype received on any active hard
577 * interface */ 577 * interface */
578static int batman_skb_recv(struct sk_buff *skb, struct net_device *dev, 578static int batman_skb_recv(struct sk_buff *skb, struct net_device *dev,
579 struct packet_type *ptype, 579 struct packet_type *ptype,