X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=net%2Fmac80211%2Fmesh_pathtbl.c;h=f0e6175a9821f01d7aac2dfbda02c1ee5eeb31ec;hb=831e45d84a971495c882bc186d98bbb825b2ee59;hp=6db2ddfa0695fe7c5e2f6d4071de3a5a97b3df55;hpb=39fada55274241d50e27eb961cc9280b5b6121fb;p=cascardo%2Flinux.git diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c index 6db2ddfa0695..f0e6175a9821 100644 --- a/net/mac80211/mesh_pathtbl.c +++ b/net/mac80211/mesh_pathtbl.c @@ -826,7 +826,7 @@ void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) mpath->metric = 0; mpath->hop_count = 0; mpath->exp_time = 0; - mpath->flags |= MESH_PATH_FIXED; + mpath->flags = MESH_PATH_FIXED | MESH_PATH_SN_VALID; mesh_path_activate(mpath); spin_unlock_bh(&mpath->state_lock); mesh_path_tx_pending(mpath);