aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/translation-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r--net/batman-adv/translation-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index bb8557ea30f1..7324b89bf731 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -221,7 +221,7 @@ void tt_local_add(struct net_device *soft_iface, const uint8_t *addr,
221 221
222 memcpy(tt_local_entry->common.addr, addr, ETH_ALEN); 222 memcpy(tt_local_entry->common.addr, addr, ETH_ALEN);
223 tt_local_entry->common.flags = NO_FLAGS; 223 tt_local_entry->common.flags = NO_FLAGS;
224 if (is_wifi_iface(ifindex)) 224 if (batadv_is_wifi_iface(ifindex))
225 tt_local_entry->common.flags |= TT_CLIENT_WIFI; 225 tt_local_entry->common.flags |= TT_CLIENT_WIFI;
226 atomic_set(&tt_local_entry->common.refcount, 2); 226 atomic_set(&tt_local_entry->common.refcount, 2);
227 tt_local_entry->last_seen = jiffies; 227 tt_local_entry->last_seen = jiffies;