|
@@ -2308,12 +2308,10 @@ bool ath10k_htt_t2h_msg_handler(struct ath10k *ar, struct sk_buff *skb)
|
|
ath10k_htt_rx_delba(ar, resp);
|
|
ath10k_htt_rx_delba(ar, resp);
|
|
break;
|
|
break;
|
|
case HTT_T2H_MSG_TYPE_PKTLOG: {
|
|
case HTT_T2H_MSG_TYPE_PKTLOG: {
|
|
- struct ath10k_pktlog_hdr *hdr =
|
|
|
|
- (struct ath10k_pktlog_hdr *)resp->pktlog_msg.payload;
|
|
|
|
-
|
|
|
|
trace_ath10k_htt_pktlog(ar, resp->pktlog_msg.payload,
|
|
trace_ath10k_htt_pktlog(ar, resp->pktlog_msg.payload,
|
|
- sizeof(*hdr) +
|
|
|
|
- __le16_to_cpu(hdr->size));
|
|
|
|
|
|
+ skb->len -
|
|
|
|
+ offsetof(struct htt_resp,
|
|
|
|
+ pktlog_msg.payload));
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case HTT_T2H_MSG_TYPE_RX_FLUSH: {
|
|
case HTT_T2H_MSG_TYPE_RX_FLUSH: {
|