uwb: fix error handling
authorOliver Neukum <oliver@neukum.org>
Wed, 18 Apr 2012 08:05:55 +0000 (10:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 20:15:51 +0000 (13:15 -0700)
commit5bd7b419ef2eb4989b207753e088c3437159618a
tree3d9dbdb4dd525bfba5504b960974a03b7a25d163
parent9426cd05682745d1024dbabdec5631309bd2f480
uwb: fix error handling

Fatal errors such as a device disconnect must not trigger
error handling. The error returns must be checked.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uwb/hwa-rc.c