projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cee1d3
)
batman-adv: fix condition in AP isolation
author
Antonio Quartulli
<
[email protected]
>
Mon, 25 Jun 2012 20:49:50 +0000
(20:49 +0000)
committer
David S. Miller
<
[email protected]
>
Tue, 26 Jun 2012 06:54:32 +0000
(23:54 -0700)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/batman-adv/translation-table.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/translation-table.c
b/net/batman-adv/translation-table.c
index cf7988342f2751e77473208812ab4424c65abcac..e4f27a872c9c1f8bba36b95f43d4b22d5b338d0b 100644
(file)
--- 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;