summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
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 /drivers/net/wireless/brcm80211/brcmfmac/fwil.c
parent664834dee63c55188093bb5f295283c7693003d6 (diff)
downloadlwn-4b5800fec6173765207abded99df3d692ed55691.tar.gz
lwn-4b5800fec6173765207abded99df3d692ed55691.zip
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 'drivers/net/wireless/brcm80211/brcmfmac/fwil.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/fwil.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/fwil.c b/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
index 22adbe311d20..59a5af5bf994 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
@@ -124,7 +124,8 @@ brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data)
}
static u32
-brcmf_create_iovar(char *name, char *data, u32 datalen, char *buf, u32 buflen)
+brcmf_create_iovar(char *name, const char *data, u32 datalen,
+ char *buf, u32 buflen)
{
u32 len;
@@ -144,7 +145,7 @@ brcmf_create_iovar(char *name, char *data, u32 datalen, char *buf, u32 buflen)
s32
-brcmf_fil_iovar_data_set(struct brcmf_if *ifp, char *name, void *data,
+brcmf_fil_iovar_data_set(struct brcmf_if *ifp, char *name, const void *data,
u32 len)
{
struct brcmf_pub *drvr = ifp->drvr;