summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh_plink.c
diff options
context:
space:
mode:
authorAshok Nagarajan <ashok@cozybit.com>2012-04-03 06:21:20 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-04-11 22:23:46 +0200
commit657c3e0c4147bb3d3fdd338e32b83b968b0f9d02 (patch)
tree06f4f3fb9f7a01b6eb823d2f7a7d0f76c76a28aa /net/mac80211/mesh_plink.c
parentmac80211: Use mandatory rates as basic rates when starting mesh (diff)
downloadlinux-657c3e0c4147bb3d3fdd338e32b83b968b0f9d02.tar.xz
linux-657c3e0c4147bb3d3fdd338e32b83b968b0f9d02.zip
mac80211: Indicate basic rates when adding rate IEs
Basic rates are added with supported rates IE and extended supported rates IE. Signed-off-by: Ashok Nagarajan <ashok@cozybit.com> Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh_plink.c')
-rw-r--r--net/mac80211/mesh_plink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c
index 923269b62b43..73fa687edc7c 100644
--- a/net/mac80211/mesh_plink.c
+++ b/net/mac80211/mesh_plink.c
@@ -212,8 +212,8 @@ static int mesh_plink_frame_tx(struct ieee80211_sub_if_data *sdata,
pos = skb_put(skb, 2);
memcpy(pos + 2, &plid, 2);
}
- if (ieee80211_add_srates_ie(&sdata->vif, skb) ||
- ieee80211_add_ext_srates_ie(&sdata->vif, skb) ||
+ if (ieee80211_add_srates_ie(&sdata->vif, skb, true) ||
+ ieee80211_add_ext_srates_ie(&sdata->vif, skb, true) ||
mesh_add_rsn_ie(skb, sdata) ||
mesh_add_meshid_ie(skb, sdata) ||
mesh_add_meshconf_ie(skb, sdata))