r8152: fix rtl8152_post_reset function
authorhayeswang <hayeswang@realtek.com>
Fri, 20 Jan 2017 06:33:55 +0000 (14:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jun 2017 04:39:38 +0000 (06:39 +0200)
commit5270bf63719c2c5e3a3d715ac78d394baea899d9
treefc6bba36e1d90e3cb3d8ccd89fe91e8673f7102e
parenta4877e5564a5306a38657fc25db721a6e558ce98
r8152: fix rtl8152_post_reset function

[ Upstream commit 2c561b2b728ca4013e76d6439bde2c137503745e ]

The rtl8152_post_reset() should sumbit rx urb and interrupt transfer,
otherwise the rx wouldn't work and the linking change couldn't be
detected.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/r8152.c