projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad02e7
)
mac80211: constify IE parsing
author
Johannes Berg
<johannes.berg@intel.com>
Tue, 12 Feb 2013 15:43:19 +0000
(16:43 +0100)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Mon, 18 Feb 2013 00:34:50 +0000
(
01:34
+0100)
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>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h
patch
|
blob
|
history
diff --git
a/include/linux/ieee80211.h
b/include/linux/ieee80211.h
index acef0deaff5a8c32f846b1dbd7b552c023fcae73..55d59bf259ed2e735ac247ec4d38d89a06e69709 100644
(file)
--- 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;