OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 033e0f05b592bc315c8278fce37f100d90bc64b4 Mon Sep 17 00:00:00 2001 |
2 | From: Phil Elwell <phil@raspberrypi.org> |
||
3 | Date: Wed, 18 Jul 2018 09:31:17 +0100 |
||
4 | Subject: [PATCH 360/454] lan78xx: Fix link status notifications |
||
5 | |||
6 | The patch to allow packet reception before the first transmission broke |
||
7 | the notification and handling of link status changes. Move the new call |
||
8 | to tasklet_schedule into lan78xx_link_reset to fix it. |
||
9 | |||
10 | See: https://github.com/raspberrypi/linux/issues/2617 |
||
11 | |||
12 | Fixes: d407fc229cdc ("net: lan78xx: fix rx handling before first packet is send") |
||
13 | Suggested-by: Stefan Wahren <stefan.wahren@i2se.com> |
||
14 | Signed-off-by: Phil Elwell <phil@raspberrypi.org> |
||
15 | --- |
||
16 | drivers/net/usb/lan78xx.c | 2 -- |
||
17 | 1 file changed, 2 deletions(-) |
||
18 | |||
19 | --- a/drivers/net/usb/lan78xx.c |
||
20 | +++ b/drivers/net/usb/lan78xx.c |
||
21 | @@ -2589,8 +2589,6 @@ static int lan78xx_open(struct net_devic |
||
22 | |||
23 | dev->link_on = false; |
||
24 | |||
25 | - tasklet_schedule(&dev->bh); |
||
26 | - |
||
27 | lan78xx_defer_kevent(dev, EVENT_LINK_RESET); |
||
28 | done: |
||
29 | usb_autopm_put_interface(dev->intf); |