1
0
Fork 0

ath9k_htc: Modify byte order for an error message

rs_datalen is be16 so we need to convert it before printing.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
alistair/sunxi64-5.5-dsi
Masashi Honma 2019-09-27 11:51:45 +09:00 committed by Kalle Valo
parent 80e84f3641
commit e01fddc19d
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv,
(skb->len - HTC_RX_FRAME_HEADER_SIZE) != 0) {
ath_err(common,
"Corrupted RX data len, dropping (dlen: %d, skblen: %d)\n",
rxstatus->rs_datalen, skb->len);
be16_to_cpu(rxstatus->rs_datalen), skb->len);
goto rx_next;
}