Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 129a9548 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ath10k: check the pipe credit update enabled flag before set"

parents 293eb6e4 116807fd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ static void ath10k_htc_prepare_tx_skb(struct ath10k_htc_ep *ep,
	hdr->eid = ep->eid;
	hdr->len = __cpu_to_le16(skb->len - sizeof(*hdr));
	hdr->flags = 0;
	if (ep->tx_credit_flow_enabled)
		hdr->flags |= ATH10K_HTC_FLAG_NEED_CREDIT_UPDATE;

	spin_lock_bh(&ep->htc->tx_lock);