diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2013-03-13 16:12:42 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-13 22:23:03 +0400 |
commit | 03866e7d3f37eb5c3d96f2041bb823f9742db4ae (patch) | |
tree | 2d41ced0b3819b9d24ed16f010f7240e3d96550d /drivers/net/wireless/ath | |
parent | b1defa4d662ff838e943829323e277fb69b40550 (diff) | |
download | linux-03866e7d3f37eb5c3d96f2041bb823f9742db4ae.tar.xz |
wil6210: Fix garbage sent to the FW with wmi_set_ie()
Extra reference was taken by mistake.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wmi.c b/drivers/net/wireless/ath/wil6210/wmi.c index d636ff493f89..aa642dfd3024 100644 --- a/drivers/net/wireless/ath/wil6210/wmi.c +++ b/drivers/net/wireless/ath/wil6210/wmi.c @@ -877,7 +877,7 @@ int wmi_set_ie(struct wil6210_priv *wil, u8 type, u16 ie_len, const void *ie) /* BUG: FW API define ieLen as u8. Will fix FW */ cmd->ie_len = cpu_to_le16(ie_len); memcpy(cmd->ie_info, ie, ie_len); - rc = wmi_send(wil, WMI_SET_APPIE_CMDID, &cmd, len); + rc = wmi_send(wil, WMI_SET_APPIE_CMDID, cmd, len); kfree(cmd); return rc; |