Message ID | 0101016ea762c38b-7904f80e-329c-4243-91cd-36e6f821dcd4-000000@us-west-2.amazonses.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 79c647a3c59ddc1a1acf68e82e555201c10d3c18 |
Delegated to: | Kalle Valo |
Headers | show |
Series | [01/10] ath11k: Fix htt stats sounding info and pdev cca stats | expand |
diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index ccebf7ce420a..aae6e76330da 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -2329,7 +2329,7 @@ int ath11k_wmi_pdev_peer_pktlog_filter(struct ath11k *ar, u8 *addr, u8 enable) tlv = ptr; tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) | - FIELD_PREP(WMI_TLV_LEN, 0); + FIELD_PREP(WMI_TLV_LEN, sizeof(*info)); ptr += TLV_HDR_SIZE; info = ptr;