Commit e01fddc1 authored by Masashi Honma's avatar Masashi Honma Committed by Kalle Valo

ath9k_htc: Modify byte order for an error message

rs_datalen is be16 so we need to convert it before printing.
Signed-off-by: default avatarMasashi Honma <masashi.honma@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 80e84f36
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment