]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: refactor batadv_tt_local_event()
authorAntonio Quartulli <antonio@open-mesh.com>
Wed, 3 Apr 2013 09:15:33 +0000 (11:15 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:54 +0000 (02:44 +0200)
commitb9595cc418e20e10bb90ad34afd2433bc486ca62
treedc117c4082060d2d2d71c2f582efa7d9311e3f5c
parent29d67bb4c25cfdbbc9064bd4a375b3798bbff3a5
batman-adv: refactor batadv_tt_local_event()

Instead of passing a generic combination of flags as
argument, it is easier to pass the entire tt_common
structure (containing the flags already set) plus a
bitfield of event flags that will be unified with
the already existing ones before inserting the client
in the event queue.
In this way invocations of the modified function can be
simplified.

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