r8152: adjust rtl_start_rx
authorhayeswang <hayeswang@realtek.com>
Thu, 20 Nov 2014 02:29:06 +0000 (10:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:52:57 +0000 (14:52 -0500)
commit7bcf4f605b4592452fba1e421b930909f7842310
tree7e7068970167deef51d65de96ae99c1f9f6bcee8
parenta0fccd4860cbd2f88f1fa577af2aca33f399c9d7
r8152: adjust rtl_start_rx

If there is a error for r8152_submit_rx(), add the remaining rx
buffers to the list. Then the remaining rx buffers could be
submitted later.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c