summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-15 14:55:59 +0100
committerJohannes Berg <johannes.berg@intel.com>2014-02-04 21:48:10 +0100
commit4b5800fec6173765207abded99df3d692ed55691 (patch)
tree89234ce213a256481b32132eed05662198cdcb9c /include/net/cfg80211.h
parent664834dee63c55188093bb5f295283c7693003d6 (diff)
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/net/cfg80211.h')
-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 9237b26142a..d10ba3a1bfa 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;