aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorAshok Nagarajan <ashok@cozybit.com>2012-04-02 21:21:20 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-04-11 16:23:46 -0400
commit657c3e0c4147bb3d3fdd338e32b83b968b0f9d02 (patch)
tree06f4f3fb9f7a01b6eb823d2f7a7d0f76c76a28aa /net/mac80211/tx.c
parentmac80211: Use mandatory rates as basic rates when starting mesh (diff)
downloadlinux-dev-657c3e0c4147bb3d3fdd338e32b83b968b0f9d02.tar.xz
linux-dev-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/tx.c')
-rw-r--r--net/mac80211/tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index daab5adeb93c..4109ec7999a3 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -2418,9 +2418,9 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw,
*pos++ = WLAN_EID_SSID;
*pos++ = 0x0;
- if (ieee80211_add_srates_ie(&sdata->vif, skb) ||
+ if (ieee80211_add_srates_ie(&sdata->vif, skb, true) ||
mesh_add_ds_params_ie(skb, sdata) ||
- ieee80211_add_ext_srates_ie(&sdata->vif, skb) ||
+ ieee80211_add_ext_srates_ie(&sdata->vif, skb, true) ||
mesh_add_rsn_ie(skb, sdata) ||
mesh_add_ht_cap_ie(skb, sdata) ||
mesh_add_ht_oper_ie(skb, sdata) ||