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

Commit 1707aec9 authored by Dimitris Michailidis's avatar Dimitris Michailidis Committed by David S. Miller
Browse files

cxgb4: fix setting of the function number in transmit descriptors

parent 1478b3ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -975,7 +975,7 @@ out_free: dev_kfree_skb(skb);
	}
	}


	cpl->ctrl0 = htonl(TXPKT_OPCODE(CPL_TX_PKT_XT) |
	cpl->ctrl0 = htonl(TXPKT_OPCODE(CPL_TX_PKT_XT) |
			   TXPKT_INTF(pi->tx_chan) | TXPKT_PF(0));
			   TXPKT_INTF(pi->tx_chan) | TXPKT_PF(adap->fn));
	cpl->pack = htons(0);
	cpl->pack = htons(0);
	cpl->len = htons(skb->len);
	cpl->len = htons(skb->len);
	cpl->ctrl1 = cpu_to_be64(cntrl);
	cpl->ctrl1 = cpu_to_be64(cntrl);