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 /include/linux/ieee80211.h | |
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 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 12b5996533ec..e085fcf52b26 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -2152,7 +2152,7 @@ static inline unsigned long ieee80211_tu_to_usec(unsigned long tu) | |||
2152 | * @tim_len: length of the TIM IE | 2152 | * @tim_len: length of the TIM IE |
2153 | * @aid: the AID to look for | 2153 | * @aid: the AID to look for |
2154 | */ | 2154 | */ |
2155 | static inline bool ieee80211_check_tim(struct ieee80211_tim_ie *tim, | 2155 | static inline bool ieee80211_check_tim(const struct ieee80211_tim_ie *tim, |
2156 | u8 tim_len, u16 aid) | 2156 | u8 tim_len, u16 aid) |
2157 | { | 2157 | { |
2158 | u8 mask; | 2158 | u8 mask; |