diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/mesh_hwmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index b54c21cf5f73..1cd1e7273085 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c | |||
@@ -791,7 +791,7 @@ int mesh_nexthop_lookup(struct sk_buff *skb, | |||
791 | } | 791 | } |
792 | 792 | ||
793 | if (mpath->flags & MESH_PATH_ACTIVE) { | 793 | if (mpath->flags & MESH_PATH_ACTIVE) { |
794 | if (time_after(jiffies, mpath->exp_time - | 794 | if (time_after(jiffies, mpath->exp_time + |
795 | msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) | 795 | msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) |
796 | && !memcmp(sdata->dev->dev_addr, hdr->addr4, | 796 | && !memcmp(sdata->dev->dev_addr, hdr->addr4, |
797 | ETH_ALEN) | 797 | ETH_ALEN) |