aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r--net/mac80211/mesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 51adb1115215..c0fe46493f71 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -195,8 +195,8 @@ int mesh_rmc_check(u8 *sa, struct ieee80211s_hdr *mesh_hdr,
195 list_del(&p->list); 195 list_del(&p->list);
196 kmem_cache_free(rm_cache, p); 196 kmem_cache_free(rm_cache, p);
197 --entries; 197 --entries;
198 } else if ((seqnum == p->seqnum) 198 } else if ((seqnum == p->seqnum) &&
199 && (memcmp(sa, p->sa, ETH_ALEN) == 0)) 199 (memcmp(sa, p->sa, ETH_ALEN) == 0))
200 return -1; 200 return -1;
201 } 201 }
202 202