diff options
| -rw-r--r-- | net/batman-adv/translation-table.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index eeceb13c044e..a874d08f9f0a 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c | |||
| @@ -1869,6 +1869,11 @@ _batadv_is_ap_isolated(struct batadv_tt_local_entry *tt_local_entry, | |||
| 1869 | tt_global_entry->common.flags & BATADV_TT_CLIENT_WIFI) | 1869 | tt_global_entry->common.flags & BATADV_TT_CLIENT_WIFI) | 
| 1870 | ret = true; | 1870 | ret = true; | 
| 1871 | 1871 | ||
| 1872 | /* check if the two clients are marked as isolated */ | ||
| 1873 | if (tt_local_entry->common.flags & BATADV_TT_CLIENT_ISOLA && | ||
| 1874 | tt_global_entry->common.flags & BATADV_TT_CLIENT_ISOLA) | ||
| 1875 | ret = true; | ||
| 1876 | |||
| 1872 | return ret; | 1877 | return ret; | 
| 1873 | } | 1878 | } | 
| 1874 | 1879 | ||
