summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-15 17:55:59 +0400
committerJohannes Berg <johannes.berg@intel.com>2014-02-05 00:48:10 +0400
commit4b5800fec6173765207abded99df3d692ed55691 (patch)
tree89234ce213a256481b32132eed05662198cdcb9c /include
parent664834dee63c55188093bb5f295283c7693003d6 (diff)
downloadlinux-4b5800fec6173765207abded99df3d692ed55691.tar.xz
cfg80211: make connect ie param const
This required liberally sprinkling 'const' over brcmfmac and mwifiex but seems like a useful thing to do since the pointer can't really be written. 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 9237b26142a1..d10ba3a1bfa8 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1737,7 +1737,7 @@ struct cfg80211_connect_params {
const u8 *ssid;
size_t ssid_len;
enum nl80211_auth_type auth_type;
- u8 *ie;
+ const u8 *ie;
size_t ie_len;
bool privacy;
enum nl80211_mfp mfp;