Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171735
b: refs/heads/master
c: a6a58b4
h: refs/heads/master
i:
  171733: 8078172
  171731: 97fbc72
  171727: b94c291
v: v3
  • Loading branch information
Rui Paulo authored and John W. Linville committed Nov 13, 2009
1 parent c269471 commit 89f3c08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d611f062f4351d8609910648854908fecf58970d
refs/heads/master: a6a58b4f14106e61e5d78aac7995686ed0d5eab8
4 changes: 3 additions & 1 deletion trunk/net/mac80211/mesh_hwmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ static void hwmp_rann_frame_process(struct ieee80211_sub_if_data *sdata,
orig_addr = rann->rann_addr;
orig_dsn = rann->rann_seq;
hopcount = rann->rann_hopcount;
hopcount++;
metric = rann->rann_metric;
mhwmp_dbg("received RANN from %pM\n", orig_addr);

Expand All @@ -706,7 +707,8 @@ static void hwmp_rann_frame_process(struct ieee80211_sub_if_data *sdata,
mesh_path_sel_frame_tx(MPATH_RANN, flags, orig_addr,
cpu_to_le32(orig_dsn),
0, NULL, 0, sdata->dev->broadcast,
hopcount, ttl, 0, cpu_to_le32(metric),
hopcount, ttl, 0,
cpu_to_le32(metric + mpath->metric),
0, sdata);
mpath->dsn = orig_dsn;
}
Expand Down

0 comments on commit 89f3c08

Please sign in to comment.