diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2013-04-03 11:15:33 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-05-29 02:44:54 +0200 |
commit | 3abe4adbfb293e37d2d6f4fe22366534dc2675d9 (patch) | |
tree | dc117c4082060d2d2d71c2f582efa7d9311e3f5c /net/batman-adv/icmp_socket.c | |
parent | d98966173213704873864c4e5057d823996ae95d (diff) |
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>
Diffstat (limited to 'net/batman-adv/icmp_socket.c')
0 files changed, 0 insertions, 0 deletions