aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/vht.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-12 10:43:19 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-02-15 03:41:39 -0500
commit4a3cb702b05868f67c4ee3da3380461c5b90b4ca (patch)
tree557b28bd820e50ad7d3c758c34a60d5df006f6ed /net/mac80211/vht.c
parent50640f169372b9977487a328dedf13a8debedff7 (diff)
mac80211: constify IE parsing
Make all the parsed IE pointers const, and propagate the change to all the users etc. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/vht.c')
-rw-r--r--net/mac80211/vht.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/mac80211/vht.c b/net/mac80211/vht.c
index a9549fcc5a04..a2c2258bc84e 100644
--- a/net/mac80211/vht.c
+++ b/net/mac80211/vht.c
@@ -13,10 +13,11 @@
13#include "rate.h" 13#include "rate.h"
14 14
15 15
16void ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata, 16void
17 struct ieee80211_supported_band *sband, 17ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata,
18 struct ieee80211_vht_cap *vht_cap_ie, 18 struct ieee80211_supported_band *sband,
19 struct sta_info *sta) 19 const struct ieee80211_vht_cap *vht_cap_ie,
20 struct sta_info *sta)
20{ 21{
21 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; 22 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap;
22 23