diff options
author | David S. Miller <davem@davemloft.net> | 2010-08-10 02:50:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-10 02:50:55 -0700 |
commit | dacb397511289154a68dea1f4bd674c660161c23 (patch) | |
tree | ad82840c1acd2f8e88d828cf8b8d819f1ca64f6f /drivers/isdn | |
parent | 68fd26b59856b466edd14d8a90d01255983cd3ee (diff) |
usbnet: rx_submit() should return an error code.
This patch makes rx_submit() return an error code, and makes some call sites
that care check the return value. This is important because it lets us properly
handle cases where the device isn't ready to handle URB submissions (e.g., when
it is autosuspended under some drivers); previously, we would attempt and fail
to submit URBs and reschedule ourselves to try and fail again. This patch is
against Linus's 2.6 repo commit 45d7f32c7a43cbb9592886d38190e379e2eb2226.
Signed-Off-By: Elizabeth Jones <ellyjones@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions