]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: properly convert flag into a boolean value
authorAntonio Quartulli <ordex@autistici.org>
Mon, 27 Aug 2012 07:35:54 +0000 (09:35 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:42:47 +0000 (09:42 +0100)
commit7c351d621297c89f748ecb28acdb7232e47a5768
treecac0705d0e8b2fcd578c5b18a7dd1f17a654457f
parenta1e122e8fc2f69fa292ff56038b07659c67ad2cb
batman-adv: properly convert flag into a boolean value

In order to properly convert a bitwise AND to a boolean value, the whole
expression must be prepended by "!!".

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/translation-table.c