From: Johannes Berg Date: Tue, 12 Feb 2013 15:43:19 +0000 (+0100) Subject: mac80211: constify IE parsing X-Git-Tag: 1.9.8~12 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=8f9975f2defa9466f8c9082a3b37b119033aa5a7;p=carl9170fw.git 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 Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index acef0de..55d59bf 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2133,7 +2133,7 @@ static inline unsigned long ieee80211_tu_to_usec(unsigned long tu) * @tim_len: length of the TIM IE * @aid: the AID to look for */ -static inline bool ieee80211_check_tim(struct ieee80211_tim_ie *tim, +static inline bool ieee80211_check_tim(const struct ieee80211_tim_ie *tim, u8 tim_len, u16 aid) { u8 mask;