batman-adv: don't check compat version twice
authorAntonio Quartulli <antonio@open-mesh.com>
Thu, 28 Mar 2013 13:21:12 +0000 (14:21 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:53 +0000 (02:44 +0200)
commita3b81b67de6ae0475c0c34c552c059f7bea2f520
tree1df0e0ab4b3fcea5f08e4bf33f710369ae88ff62
parent281581d3e79eaacfcdc0827e9bf990422252ba5c
batman-adv: don't check compat version twice

Compatibility version is checked upon packet reception
before calling any handler. For this reason it does need to
be checked once more in the handler itself.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bat_iv_ogm.c