summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-15 13:55:59 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2014-02-04 20:48:10 (GMT)
commit4b5800fec6173765207abded99df3d692ed55691 (patch)
tree89234ce213a256481b32132eed05662198cdcb9c /include/net
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/net')
-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 9237b26..d10ba3a 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;