aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-06-28 04:33:25 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-28 04:35:50 -0400
commitfc8a7321d3d68af759a369a9ad3e2426688742d3 (patch)
treecaac90c4c1010b374a9df08eefd0c3a38329d7fa /net/mac80211/ieee80211_i.h
parentdfb89c56add259b72a9c68d6b2846c1cd8c4e4b6 (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/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 341d77d472d2..6b7157d20507 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1480,6 +1480,10 @@ u8 *ieee80211_ie_build_ht_oper(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap,
1480 struct ieee80211_channel *channel, 1480 struct ieee80211_channel *channel,
1481 enum nl80211_channel_type channel_type, 1481 enum nl80211_channel_type channel_type,
1482 u16 prot_mode); 1482 u16 prot_mode);
1483int ieee80211_add_srates_ie(struct ieee80211_sub_if_data *sdata,
1484 struct sk_buff *skb, bool need_basic);
1485int ieee80211_add_ext_srates_ie(struct ieee80211_sub_if_data *sdata,
1486 struct sk_buff *skb, bool need_basic);
1483 1487
1484/* channel management */ 1488/* channel management */
1485enum ieee80211_chan_mode { 1489enum ieee80211_chan_mode {