mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
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>
This commit is contained in:
parent
5cee1d37c9
commit
1f129fefd3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user