提交 2588f554 编写于 作者: R Raja Mani 提交者: Kalle Valo

ath6kl: Print bad trailer data only when htc fails to parse trailer info

Signed-off-by: NRaja Mani <rmani@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 58d92abc
...@@ -1400,8 +1400,9 @@ static int htc_proc_trailer(struct htc_target *target, ...@@ -1400,8 +1400,9 @@ static int htc_proc_trailer(struct htc_target *target,
len -= record->len; len -= record->len;
} }
ath6kl_dbg_dump(ATH6KL_DBG_RAW_BYTES, "BAD Recv Trailer", if (status)
orig_buf, orig_len); ath6kl_dbg_dump(ATH6KL_DBG_RAW_BYTES, "BAD Recv Trailer",
orig_buf, orig_len);
return status; return status;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册