r8152: fix rtl8152_post_reset function
authorhayeswang <hayeswang@realtek.com>
Fri, 20 Jan 2017 06:33:55 +0000 (14:33 +0800)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:58:52 +0000 (02:58 +0000)
commiteee9107616e6fd6cce7cc1f439ebeb3ecc37e4d7
tree96d8fa6fad4538080eb0930ae8c6481c2b796196
parentbd2b4fb1c79966e0a135e09051b3b9fdceb19286
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