]> git.karo-electronics.de Git - karo-tx-linux.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)
commit3abe4adbfb293e37d2d6f4fe22366534dc2675d9
treedc117c4082060d2d2d71c2f582efa7d9311e3f5c
parentd98966173213704873864c4e5057d823996ae95d
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