diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-06-25 22:49:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-26 08:54:32 +0200 |
commit | 1f129fefd35842bcd450db02b6c63f958384b1b3 (patch) | |
tree | a83ec91c00a07f5c0e201161786dc296c1259fc5 /net/batman-adv/translation-table.c | |
parent | net/sh-eth: Check return value of sh_eth_reset when chip reset fail (diff) | |
download | linux-1f129fefd35842bcd450db02b6c63f958384b1b3.tar.xz linux-1f129fefd35842bcd450db02b6c63f958384b1b3.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | net/batman-adv/translation-table.c | 2 |
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, if (!tt_global_entry) goto out; - if (_batadv_is_ap_isolated(tt_local_entry, tt_global_entry)) + if (!_batadv_is_ap_isolated(tt_local_entry, tt_global_entry)) goto out; ret = true; |