[PATCH net-next v3 0/2] r8152: adjust rx functions
From: Hayes Wang
Date: Wed Nov 19 2014 - 21:29:49 EST
For patch #1, remove unnecessary initialization for ret and
unnecessary blank line in r8152_submit_rx().
For patch #1, set actual_length to 0 before adding the rx to the
list, when a error occurs.
For patch #2, change the flow. Stop submitting the rx if a error
occurs, and add the remaining rx to the list for submitting later.
Adjust some flows and codes which are relative to r8152_submit_rx()
Hayes Wang (2):
r8152: adjust r8152_submit_rx
r8152: adjust rtl_start_rx
drivers/net/usb/r8152.c | 60 ++++++++++++++++++++++++++++++++-----------------
1 file changed, 40 insertions(+), 20 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/