Message ID | 20180620084222.3521-4-niklas.cassel@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 8530b4e7b22bc3bd8240579f3844c73947cd5f71 |
Delegated to: | Kalle Valo |
Headers | show |
diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c index 0c57d6aaa437..8ac47b04a17e 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.c +++ b/drivers/net/wireless/ath/ath10k/sdio.c @@ -396,6 +396,7 @@ static int ath10k_sdio_mbox_rx_process_packet(struct ath10k *ar, int ret; payload_len = le16_to_cpu(htc_hdr->len); + skb->len = payload_len + sizeof(struct ath10k_htc_hdr); if (trailer_present) { trailer = skb->data + sizeof(*htc_hdr) +