diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-06-28 04:33:25 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-28 04:35:50 -0400 |
commit | fc8a7321d3d68af759a369a9ad3e2426688742d3 (patch) | |
tree | caac90c4c1010b374a9df08eefd0c3a38329d7fa /net/mac80211/tx.c | |
parent | dfb89c56add259b72a9c68d6b2846c1cd8c4e4b6 (diff) |
mac80211: don't expose ieee80211_add_srates_ie()
This and ieee80211_add_ext_srates_ie() aren't
exported, so can't be used by drivers anyway,
but there's also no reason that they should be
so make them private to mac80211 and use sdata
instead of vif arguments.
Acked-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index ec8f53467374..4e753032e48d 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2420,9 +2420,9 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, | |||
2420 | *pos++ = WLAN_EID_SSID; | 2420 | *pos++ = WLAN_EID_SSID; |
2421 | *pos++ = 0x0; | 2421 | *pos++ = 0x0; |
2422 | 2422 | ||
2423 | if (ieee80211_add_srates_ie(&sdata->vif, skb, true) || | 2423 | if (ieee80211_add_srates_ie(sdata, skb, true) || |
2424 | mesh_add_ds_params_ie(skb, sdata) || | 2424 | mesh_add_ds_params_ie(skb, sdata) || |
2425 | ieee80211_add_ext_srates_ie(&sdata->vif, skb, true) || | 2425 | ieee80211_add_ext_srates_ie(sdata, skb, true) || |
2426 | mesh_add_rsn_ie(skb, sdata) || | 2426 | mesh_add_rsn_ie(skb, sdata) || |
2427 | mesh_add_ht_cap_ie(skb, sdata) || | 2427 | mesh_add_ht_cap_ie(skb, sdata) || |
2428 | mesh_add_ht_oper_ie(skb, sdata) || | 2428 | mesh_add_ht_oper_ie(skb, sdata) || |