aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorRaja Mani <rmani@qca.qualcomm.com>2011-07-19 09:57:30 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 12:45:21 -0400
commit2588f554f0adaba0c834d238596335cb5606e33a (patch)
tree256b3e7064a67b62a07bd3fc7a67aee149b022e5 /drivers/net/wireless
parent58d92abc740c2662bb1381d6f543e1bc7dd38719 (diff)
ath6kl: Print bad trailer data only when htc fails to parse trailer info
Signed-off-by: Raja Mani <rmani@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c
index 836797947805..9d9948ed18df 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.c
+++ b/drivers/net/wireless/ath/ath6kl/htc.c
@@ -1400,8 +1400,9 @@ static int htc_proc_trailer(struct htc_target *target,
1400 len -= record->len; 1400 len -= record->len;
1401 } 1401 }
1402 1402
1403 ath6kl_dbg_dump(ATH6KL_DBG_RAW_BYTES, "BAD Recv Trailer", 1403 if (status)
1404 orig_buf, orig_len); 1404 ath6kl_dbg_dump(ATH6KL_DBG_RAW_BYTES, "BAD Recv Trailer",
1405 orig_buf, orig_len);
1405 1406
1406 return status; 1407 return status;
1407} 1408}