Repository : ssh://git@open-mesh.org/batman-adv
On branch : next
commit 28d246e324fe753e24adb93b7f843cbd5d5fcb1e Author: Antonio Quartulli ordex@autistici.org Date: Wed Aug 22 00:40:05 2012 +0200
batman-adv: swap lines to get in sync with networking branch
due to a merge conflict resolution handled differently in the networking branch, we now have a small divergence between our next branch and what we already have in net/batman-adv/ in the kernel. Since we cannot ask the kernel guys to "swap two lines", with this patch we fix the problem in our repo
Signed-off-by: Antonio Quartulli ordex@autistici.org
28d246e324fe753e24adb93b7f843cbd5d5fcb1e soft-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/soft-interface.c b/soft-interface.c index 1aee7db..7b683e0 100644 --- a/soft-interface.c +++ b/soft-interface.c @@ -277,8 +277,8 @@ void batadv_interface_rx(struct net_device *soft_iface, struct vlan_ethhdr *vhdr; struct batadv_header *batadv_header = (struct batadv_header *)skb->data; short vid __maybe_unused = -1; - bool is_bcast; __be16 ethertype = __constant_htons(BATADV_ETH_P_BATMAN); + bool is_bcast;
is_bcast = (batadv_header->packet_type == BATADV_BCAST);