]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath10k: suppress warnings when getting wmi peer_rate_code_list event
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Mon, 9 May 2016 18:57:14 +0000 (21:57 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 11 May 2016 19:53:06 +0000 (22:53 +0300)
In 10.4, fw sends WMI PEER_RATECODE_LIST_EVENTID after successful
peer_assoc cmd. As of now this event is not of much use and not
implemented. Change the debug level and messsage as appropriate
to suppress "Unknown eventid: 36898".

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c

index f71c1fb0b2373fe4bd567d1d3d1c7a5fe6917dc2..2c300329ebc3edcbe9492db84cef7274b6af4775 100644 (file)
@@ -5269,6 +5269,7 @@ static void ath10k_wmi_10_4_op_rx(struct ath10k *ar, struct sk_buff *skb)
                ath10k_wmi_event_vdev_stopped(ar, skb);
                break;
        case WMI_10_4_WOW_WAKEUP_HOST_EVENTID:
+       case WMI_10_4_PEER_RATECODE_LIST_EVENTID:
                ath10k_dbg(ar, ATH10K_DBG_WMI,
                           "received event id %d not implemented\n", id);
                break;