ath10k: warn on unhandled htt events
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 2 Oct 2014 11:32:55 +0000 (13:32 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 8 Oct 2014 10:19:54 +0000 (13:19 +0300)
It makes a lot more sense to print these kinds of
problems as a warning instead of a debug.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c

index 7add88ea0e2e275e54322f9fba8c0101c2fe354c..27b3051d9ffd372333efe6767ea35febc9437daf 100644 (file)
@@ -1694,8 +1694,8 @@ void ath10k_htt_t2h_msg_handler(struct ath10k *ar, struct sk_buff *skb)
                break;
        }
        default:
-               ath10k_dbg(ar, ATH10K_DBG_HTT, "htt event (%d) not handled\n",
-                          resp->hdr.msg_type);
+               ath10k_warn(ar, "htt event (%d) not handled\n",
+                           resp->hdr.msg_type);
                ath10k_dbg_dump(ar, ATH10K_DBG_HTT_DUMP, NULL, "htt event: ",
                                skb->data, skb->len);
                break;
This page took 0.029412 seconds and 5 git commands to generate.