|
@@ -414,7 +414,8 @@ static int ath10k_htc_rx_completion_handler(struct ath10k *ar,
|
|
struct ath10k_htc_msg *msg = (struct ath10k_htc_msg *)skb->data;
|
|
struct ath10k_htc_msg *msg = (struct ath10k_htc_msg *)skb->data;
|
|
|
|
|
|
switch (__le16_to_cpu(msg->hdr.message_id)) {
|
|
switch (__le16_to_cpu(msg->hdr.message_id)) {
|
|
- default:
|
|
|
|
|
|
+ case ATH10K_HTC_MSG_READY_ID:
|
|
|
|
+ case ATH10K_HTC_MSG_CONNECT_SERVICE_RESP_ID:
|
|
/* handle HTC control message */
|
|
/* handle HTC control message */
|
|
if (completion_done(&htc->ctl_resp)) {
|
|
if (completion_done(&htc->ctl_resp)) {
|
|
/*
|
|
/*
|
|
@@ -438,6 +439,10 @@ static int ath10k_htc_rx_completion_handler(struct ath10k *ar,
|
|
break;
|
|
break;
|
|
case ATH10K_HTC_MSG_SEND_SUSPEND_COMPLETE:
|
|
case ATH10K_HTC_MSG_SEND_SUSPEND_COMPLETE:
|
|
htc->htc_ops.target_send_suspend_complete(ar);
|
|
htc->htc_ops.target_send_suspend_complete(ar);
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
|
|
+ ath10k_warn(ar, "ignoring unsolicited htc ep0 event\n");
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|