summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg2014-05-19 17:59:50 +0200
committerJohannes Berg2014-05-19 18:06:50 +0200
commit922bd80fc33b5b90eb34b1485ebcf3c7b2e61618 (patch)
tree7f03c80775ba39c43d34f8038583db768b311029 /include
parentcfg80211: constify more pointers in the cfg80211 API (diff)
downloadkernel-qcow2-linux-922bd80fc33b5b90eb34b1485ebcf3c7b2e61618.tar.gz
kernel-qcow2-linux-922bd80fc33b5b90eb34b1485ebcf3c7b2e61618.tar.xz
kernel-qcow2-linux-922bd80fc33b5b90eb34b1485ebcf3c7b2e61618.zip
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')
-rw-r--r--include/net/cfg80211.h2
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 {
* memory, free @mask only!
*/
struct cfg80211_pkt_pattern {
- u8 *mask, *pattern;
+ const u8 *mask, *pattern;
int pattern_len;
int pkt_offset;
};