diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-12 10:43:19 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-15 03:41:39 -0500 |
commit | 4a3cb702b05868f67c4ee3da3380461c5b90b4ca (patch) | |
tree | 557b28bd820e50ad7d3c758c34a60d5df006f6ed /net/mac80211/ht.c | |
parent | 50640f169372b9977487a328dedf13a8debedff7 (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/ht.c')
-rw-r--r-- | net/mac80211/ht.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index 797969bc26e1..b84147ac5b4c 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c | |||
@@ -94,7 +94,7 @@ void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata, | |||
94 | 94 | ||
95 | bool ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata, | 95 | bool ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata, |
96 | struct ieee80211_supported_band *sband, | 96 | struct ieee80211_supported_band *sband, |
97 | struct ieee80211_ht_cap *ht_cap_ie, | 97 | const struct ieee80211_ht_cap *ht_cap_ie, |
98 | struct sta_info *sta) | 98 | struct sta_info *sta) |
99 | { | 99 | { |
100 | struct ieee80211_sta_ht_cap ht_cap; | 100 | struct ieee80211_sta_ht_cap ht_cap; |