Skip to content

Commit 1f129fe

Browse files
Antonio Quartullidavem330
authored andcommitted
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>
1 parent 5cee1d3 commit 1f129fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/batman-adv/translation-table.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2187,7 +2187,7 @@ bool batadv_is_ap_isolated(struct bat_priv *bat_priv, uint8_t *src,
21872187
if (!tt_global_entry)
21882188
goto out;
21892189

2190-
if (_batadv_is_ap_isolated(tt_local_entry, tt_global_entry))
2190+
if (!_batadv_is_ap_isolated(tt_local_entry, tt_global_entry))
21912191
goto out;
21922192

21932193
ret = true;

0 commit comments

Comments
 (0)