diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2015-02-25 11:39:36 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-03-07 08:54:53 +0100 |
commit | 4543ab01481f184609226b905d84ef841f993b96 (patch) | |
tree | ff7fdc3124f7dd64c28d7ec60f61eaa4b2b5ae9b /drivers/net/wireless/ath/ath10k/wmi-tlv.c | |
parent | ath10k: increase duty cycle maximum limit (diff) | |
download | linux-4543ab01481f184609226b905d84ef841f993b96.tar.xz linux-4543ab01481f184609226b905d84ef841f993b96.zip |
ath10k: fix ap u-apsd cmd on qca6174 w/ wmi-tlv
The command was truncated so the parameter value
was seen in fw as 0. This caused U-APSD enabled
stations to be misconfigured and mistreated by AP.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi-tlv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index 5721d1fc21c7..138d80a6d3b0 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c @@ -2035,7 +2035,7 @@ ath10k_wmi_tlv_op_gen_set_ap_ps(struct ath10k *ar, u32 vdev_id, const u8 *mac, if (!mac) return ERR_PTR(-EINVAL); - skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd)); + skb = ath10k_wmi_alloc_skb(ar, sizeof(*tlv) + sizeof(*cmd)); if (!skb) return ERR_PTR(-ENOMEM); |