aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorClemens Ladisch <[email protected]>2010-03-15 12:20:32 +0000
committerStefan Richter <[email protected]>2010-03-15 13:29:44 +0000
commitcf36df6bfb49fd265a39f676bfc9718029fef160 (patch)
tree684051014d4d516a5510797e4b887a06d412cb65 /net/lapb/lapb_subr.c
parentfirewire: ohci: extend initialization log message (diff)
downloadkernel-cf36df6bfb49fd265a39f676bfc9718029fef160.tar.gz
kernel-cf36df6bfb49fd265a39f676bfc9718029fef160.zip
firewire: core: fw_iso_resource_manage: fix error handling
If the bandwidth allocation fails, the error must be returned in *channel regardless of whether the channel allocation succeeded. Checking for c >= 0 is not correct if no channel allocation was requested, in which case this part of the code is reached with c == -EINVAL. Signed-off-by: Clemens Ladisch <[email protected]> Signed-off-by: Stefan Richter <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions