diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 19:53:16 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 19:53:16 +0400 |
commit | c1e5f4714d591cc0a5e986613fdefa61abe98ac2 (patch) | |
tree | 41e8b20e1c93e142f5dfbca513fbb770445102c6 /drivers/net/wireless/ath/ath6kl/wmi.c | |
parent | 3b3a0162fade6b83d5c83efafcd5adb9e4537047 (diff) | |
download | linux-c1e5f4714d591cc0a5e986613fdefa61abe98ac2.tar.xz |
cfg80211: constify more pointers in the cfg80211 API
This also propagates through the drivers.
The orinoco driver uses the cfg80211 API structs for internal
bookkeeping, and so needs a (void *) cast that removes the
const - but that's OK because it allocates those pointers.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index 8b4ce28e3ce8..051094604e21 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/drivers/net/wireless/ath/ath6kl/wmi.c @@ -2322,7 +2322,7 @@ int ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index, return ret; } -int ath6kl_wmi_add_krk_cmd(struct wmi *wmi, u8 if_idx, u8 *krk) +int ath6kl_wmi_add_krk_cmd(struct wmi *wmi, u8 if_idx, const u8 *krk) { struct sk_buff *skb; struct wmi_add_krk_cmd *cmd; |