aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-06-25 16:49:50 -0400
committerDavid S. Miller <davem@davemloft.net>2012-06-26 02:54:32 -0400
commit1f129fefd35842bcd450db02b6c63f958384b1b3 (patch)
treea83ec91c00a07f5c0e201161786dc296c1259fc5
parent5cee1d37c9f565f1aa515408863dbb13db67dab9 (diff)
batman-adv: fix condition in AP isolation
During the last conflict resolution involving translation-table.c something went wrong and a condition in the AP isolation code was reversed. This patch fixes this problem. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/batman-adv/translation-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index cf7988342f27..e4f27a872c9c 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -2187,7 +2187,7 @@ bool batadv_is_ap_isolated(struct bat_priv *bat_priv, uint8_t *src,
2187 if (!tt_global_entry) 2187 if (!tt_global_entry)
2188 goto out; 2188 goto out;
2189 2189
2190 if (_batadv_is_ap_isolated(tt_local_entry, tt_global_entry)) 2190 if (!_batadv_is_ap_isolated(tt_local_entry, tt_global_entry))
2191 goto out; 2191 goto out;
2192 2192
2193 ret = true; 2193 ret = true;