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

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

Merge "usb: gadget: u_ether: set_wake_up_idle in rx path"

parents 9dbcf401 c0136467
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -520,6 +520,7 @@ static void process_rx_w(struct work_struct *work)
	if (!dev->port_usb)
		return;

	set_wake_up_idle(true);
	while ((skb = skb_dequeue(&dev->rx_frames))) {
		if (status < 0
				|| ETH_HLEN > skb->len
@@ -541,6 +542,7 @@ static void process_rx_w(struct work_struct *work)

		status = netif_rx_ni(skb);
	}
	set_wake_up_idle(false);

	if (netif_running(dev->net))
		rx_fill(dev, GFP_KERNEL);