summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-02-07 17:20:51 +0800
committerAntonio Quartulli <ordex@autistici.org>2012-04-18 09:54:01 +0200
commit1eeb479fda2405269b3a85c86ba0eca41fcc4ea0 (patch)
tree99ac9b9b73c2bd1b49858f5cd39dc1d27a3a8a24 /net/batman-adv/hard-interface.c
parent76e3d7fc1a49ea8c377ddc91a4ec40f326404833 (diff)
downloadblackbird-op-linux-1eeb479fda2405269b3a85c86ba0eca41fcc4ea0.tar.gz
blackbird-op-linux-1eeb479fda2405269b3a85c86ba0eca41fcc4ea0.zip
batman-adv: mark existing ogm variables as batman iv
The coming protocol changes also will have a part called "OGM". That makes it necessary to introduce a distinction in the code base. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r--net/batman-adv/hard-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c
index 75a555b8587e..e8c5da379a80 100644
--- a/net/batman-adv/hard-interface.c
+++ b/net/batman-adv/hard-interface.c
@@ -604,7 +604,7 @@ static int batman_skb_recv(struct sk_buff *skb, struct net_device *dev,
switch (batman_ogm_packet->header.packet_type) {
/* batman originator packet */
- case BAT_OGM:
+ case BAT_IV_OGM:
ret = recv_bat_ogm_packet(skb, hard_iface);
break;
OpenPOWER on IntegriCloud