nl80211/mac80211: mesh: add mesh path change count to mpath info
Expose path change count to destination in mpath info Signed-off-by: Julan Hsu <julanhsu@google.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -5830,7 +5830,10 @@ static int nl80211_send_mpath(struct sk_buff *msg, u32 portid, u32 seq,
|
||||
pinfo->discovery_retries)) ||
|
||||
((pinfo->filled & MPATH_INFO_HOP_COUNT) &&
|
||||
nla_put_u8(msg, NL80211_MPATH_INFO_HOP_COUNT,
|
||||
pinfo->hop_count)))
|
||||
pinfo->hop_count)) ||
|
||||
((pinfo->filled & MPATH_INFO_PATH_CHANGE) &&
|
||||
nla_put_u32(msg, NL80211_MPATH_INFO_PATH_CHANGE,
|
||||
pinfo->path_change_count)))
|
||||
goto nla_put_failure;
|
||||
|
||||
nla_nest_end(msg, pinfoattr);
|
||||
|
Reference in New Issue
Block a user