Commit 48d94be7 authored by Masashi Honma's avatar Masashi Honma Committed by Khalid Elmously

ath9k_htc: Modify byte order for an error message

BugLink: https://bugs.launchpad.net/bugs/1859640

[ Upstream commit e01fddc1 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarConnor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent 5e18c32e
......@@ -985,7 +985,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