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

Commit 7559fb2f authored by hayeswang's avatar hayeswang Committed by David S. Miller
Browse files

r8152: add comments



Add comments.

Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b1379d9a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -790,6 +790,9 @@ static void read_bulk_callback(struct urb *urb)
		return;

	netdev = tp->netdev;

	/* When link down, the driver would cancel all bulks. */
	/* This avoid the re-submitting bulk */
	if (!netif_carrier_ok(netdev))
		return;

@@ -1296,6 +1299,8 @@ static void bottom_half(unsigned long data)
	if (!test_bit(WORK_ENABLE, &tp->flags))
		return;

	/* When link down, the driver would cancel all bulks. */
	/* This avoid the re-submitting bulk */
	if (!netif_carrier_ok(tp->netdev))
		return;