Commit 79fd1709 authored by Steve deRosier's avatar Steve deRosier Committed by Kalle Valo

ath6kl: Don't print error message when recv is canceled

An error message ath6kl_htc_rxmsg_pending_handler isn't appropate for when
the error is ECANCELED. This could be the result of a perfectly appropriate
RX cancel due to shutdown or suspend. This allows the right cleanup to
continue, but without an alarming error message in this particular case.
Signed-off-by: default avatarSteve deRosier <steve.derosier@lairdtech.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 6fa658fd
......@@ -2222,6 +2222,7 @@ int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target,
}
if (status) {
if (status != -ECANCELED)
ath6kl_err("failed to get pending recv messages: %d\n",
status);
......
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