]> 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)
commit77628eb431494ab178a4f5f0bc5ae5f8cf6ead28
treedc117c4082060d2d2d71c2f582efa7d9311e3f5c
parentfa60a1dda52c96203b43a826472a77c76a142515
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