From: Antonio Quartulli antonio@open-mesh.com
A define has been accidentally put inside a wrong ifdef block. Move it out.
Introduced by 952cebb57518ec18dfdebfcb2b85539f58f20779 ("batman-adv: add per VLAN interface attribute framework")
Signed-off-by: Antonio Quartulli antonio@open-mesh.com --- compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compat.h b/compat.h index fd6ee46..9944081 100644 --- a/compat.h +++ b/compat.h @@ -326,10 +326,10 @@ static int __batadv_interface_set_mac_addr(x, y) #include <linux/if_vlan.h> #define vlan_insert_tag(skb, proto, vid) vlan_insert_tag(skb, vid)
-#define NETIF_F_HW_VLAN_CTAG_FILTER NETIF_F_HW_VLAN_FILTER - #endif /* vlan_insert_tag */
+#define NETIF_F_HW_VLAN_CTAG_FILTER NETIF_F_HW_VLAN_FILTER + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0)
#define batadv_interface_add_vid(x, y, z) \
On Thursday, July 04, 2013 23:54:51 Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
A define has been accidentally put inside a wrong ifdef block. Move it out.
Introduced by 952cebb57518ec18dfdebfcb2b85539f58f20779 ("batman-adv: add per VLAN interface attribute framework")
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied in revision 6f27447.
Thanks, Marek
b.a.t.m.a.n@lists.open-mesh.org