]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/mac80211/mesh_hwmp.c
Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound...
[mv-sheeva.git] / net / mac80211 / mesh_hwmp.c
index 833b2f3670c59ff83c7d3517630706217472f4ee..d28acb6b1f8151e2a822ec5fc697231b5d76e698 100644 (file)
@@ -937,7 +937,7 @@ int mesh_nexthop_lookup(struct sk_buff *skb,
 
        if (mpath->flags & MESH_PATH_ACTIVE) {
                if (time_after(jiffies,
-                              mpath->exp_time +
+                              mpath->exp_time -
                               msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) &&
                    !memcmp(sdata->dev->dev_addr, hdr->addr4, ETH_ALEN) &&
                    !(mpath->flags & MESH_PATH_RESOLVING) &&