diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 11:59:50 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 12:06:50 -0400 |
commit | 922bd80fc33b5b90eb34b1485ebcf3c7b2e61618 (patch) | |
tree | 7f03c80775ba39c43d34f8038583db768b311029 /include/net | |
parent | c1e5f4714d591cc0a5e986613fdefa61abe98ac2 (diff) |
cfg80211: constify wowlan/coalesce mask/pattern pointers
This requires changing the nl80211 parsing code a bit to use
intermediate pointers for the allocation, but clarifies the
API towards the drivers.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 3299d1b731ef..fe4fa287f788 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1827,7 +1827,7 @@ struct cfg80211_pmksa { | |||
1827 | * memory, free @mask only! | 1827 | * memory, free @mask only! |
1828 | */ | 1828 | */ |
1829 | struct cfg80211_pkt_pattern { | 1829 | struct cfg80211_pkt_pattern { |
1830 | u8 *mask, *pattern; | 1830 | const u8 *mask, *pattern; |
1831 | int pattern_len; | 1831 | int pattern_len; |
1832 | int pkt_offset; | 1832 | int pkt_offset; |
1833 | }; | 1833 | }; |