Re: [PATCH net] r8152: fix setting RTL8152_UNPLUG

2014-09-30 Thread David Miller
From: Hayes Wang Date: Tue, 30 Sep 2014 16:48:01 +0800 > The flag of RTL8152_UNPLUG should only be set when the device is > unplugged, not each time the rtl8152_disconnect() is called. > Otherwise, the device wouldn't be stopped normally. > > Signed-off-by: Hayes Wang Applied, thanks. -- To un

[PATCH net] r8152: fix setting RTL8152_UNPLUG

2014-09-30 Thread Hayes Wang
The flag of RTL8152_UNPLUG should only be set when the device is unplugged, not each time the rtl8152_disconnect() is called. Otherwise, the device wouldn't be stopped normally. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff