batman-adv: Use bitwise instead of arithmetic operator for flags
authorLinus Lüssing <linus.luessing@c0d3.blue>
Mon, 11 Jul 2016 09:16:36 +0000 (11:16 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 9 Aug 2016 05:54:34 +0000 (07:54 +0200)
commit4d7de48c797c9207412da4e350c5170617eaf8c7
tree331d4521c5eb0647610af5cde3fa8772f465cd23
parentf19dc7770f5d55274ef9821392199daca03469a9
batman-adv: Use bitwise instead of arithmetic operator for flags

This silences the following coccinelle warning:

"WARNING: sum of probable bitmasks, consider |"

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/multicast.c