mac80211: constify IE parsing
[carl9170fw.git] / include / linux / ieee80211.h
index acef0deaff5a8c32f846b1dbd7b552c023fcae73..55d59bf259ed2e735ac247ec4d38d89a06e69709 100644 (file)
@@ -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;