[B.A.T.M.A.N.] [PATCH] batman-adv: properly convert flag into a boolean value

2012-08-27 Thread Antonio Quartulli
In order to properly convert a bitwise AND to a boolean value, the whole expression must be prepended by !!. Signed-off-by: Antonio Quartulli or...@autistici.org --- translation-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation-table.c b/translation-table.c

[B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Write lockdep xmit class in late initialization phase

2012-08-27 Thread Sven Eckelmann
e27bb6fa916451e9eaced16e7c21d5b71a3b7f30 (batman-adv: Set special lockdep classes to avoid lockdep warning) introduced a lockdep class for the tx queue, but did not set it in the correct initialization phase. The batman-adv specific lock class could be replaced by a later netdevice registration

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Add KernelDoc for soft-interface lockdep functions

2012-08-27 Thread Sven Eckelmann
e27bb6fa916451e9eaced16e7c21d5b71a3b7f30 (batman-adv: Set special lockdep classes to avoid lockdep warning) added new functions, but no new documentation for these functions. Signed-off-by: Sven Eckelmann s...@narfation.org --- soft-interface.c | 10 ++ 1 file changed, 10 insertions(+)

[B.A.T.M.A.N.] [PATCHv5] batman-adv: pass the WIFI flag from the local to global entry

2012-08-27 Thread Antonio Quartulli
in case of client roaming a new global entry is added while a corresponding local one is still present. In this case the node can safely pass the WIFI flag from the local to the global entry. This change is required to let the AP-isolation correctly working in case of roaming: if a generic WIFI

[B.A.T.M.A.N.] [PATCH] batman-adv: add kernel-doc for enum batadv_dbg_level

2012-08-27 Thread Antonio Quartulli
Signed-off-by: Antonio Quartulli or...@autistici.org --- main.h | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/main.h b/main.h index c243294..e828755 100644 --- a/main.h +++ b/main.h @@ -167,12 +167,19 @@ int batadv_algo_register(struct batadv_algo_ops