summaryrefslogtreecommitdiff
path: root/net/batman-adv/fragmentation.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/fragmentation.h')
-rw-r--r--net/batman-adv/fragmentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/fragmentation.h b/net/batman-adv/fragmentation.h
index 3202fe329e63..b95f619606af 100644
--- a/net/batman-adv/fragmentation.h
+++ b/net/batman-adv/fragmentation.h
@@ -47,7 +47,7 @@ int batadv_frag_send_packet(struct sk_buff *skb,
static inline bool
batadv_frag_check_entry(struct batadv_frag_table_entry *frags_entry)
{
- if (!hlist_empty(&frags_entry->head) &&
+ if (!hlist_empty(&frags_entry->fragment_list) &&
batadv_has_timed_out(frags_entry->timestamp, BATADV_FRAG_TIMEOUT))
return true;
return false;