summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/pci.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2020-08-18 16:17:20 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-08-18 16:17:20 +0300
commiteb77802e0daa2f01a8c13a2fc495bc2d54e62a64 (patch)
tree14f0e5fc49f2692f626606d83a084a47de2b4c00 /drivers/net/wireless/ath/ath10k/pci.c
parent094dd0d730628448a80c7f5ba33038ecdddf5092 (diff)
parent0b294aebb6a00b61eddbc30aa9ba34a0a1caeb7d (diff)
downloadlinux-eb77802e0daa2f01a8c13a2fc495bc2d54e62a64.tar.bz2
Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
ath.git patches for v5.10. Major changes: ath11k * add support for QCA6390 PCI devices wcn36xx * add support for TX ack ath9k * add support for NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 to improve PTK0 rekeying
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index cfde7791291a..36426efdb2ea 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -2184,7 +2184,7 @@ err_req:
if (ret == 0 && resp_len) {
*resp_len = min(*resp_len, xfer.resp_len);
- memcpy(resp, tresp, xfer.resp_len);
+ memcpy(resp, tresp, *resp_len);
}
err_dma:
kfree(treq);