diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-06-03 22:19:21 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-07-01 22:47:19 +0200 |
commit | acd34afa89772f6379b642bb979d0a112328c769 (patch) | |
tree | dc72002fdefbd521253f651a53bbed762d3af899 /net/batman-adv/unicast.h | |
parent | d69909d2fc9e00bd8149cc8df9b18c35008e3e62 (diff) | |
download | op-kernel-dev-acd34afa89772f6379b642bb979d0a112328c769.zip op-kernel-dev-acd34afa89772f6379b642bb979d0a112328c769.tar.gz |
batman-adv: Prefix packet enum with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/unicast.h')
-rw-r--r-- | net/batman-adv/unicast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/unicast.h b/net/batman-adv/unicast.h index 936287f..510e23f 100644 --- a/net/batman-adv/unicast.h +++ b/net/batman-adv/unicast.h @@ -41,8 +41,8 @@ static inline int batadv_frag_can_reassemble(const struct sk_buff *skb, int mtu) unicast_packet = (struct unicast_frag_packet *)skb->data; - if (unicast_packet->flags & UNI_FRAG_LARGETAIL) { - if (unicast_packet->flags & UNI_FRAG_HEAD) + if (unicast_packet->flags & BATADV_UNI_FRAG_LARGETAIL) { + if (unicast_packet->flags & BATADV_UNI_FRAG_HEAD) uneven_correction = 1; else uneven_correction = -1; |