]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/uwb/hwa-rc.c
Merge branch 'msm-core' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux...
[karo-tx-linux.git] / drivers / uwb / hwa-rc.c
index 66797e9c5010d35cd5c21563a99faec79cd8a175..810c90ae2c5584fc57113813f2a9251422724840 100644 (file)
@@ -645,7 +645,8 @@ void hwarc_neep_cb(struct urb *urb)
                dev_err(dev, "NEEP: URB error %d\n", urb->status);
        }
        result = usb_submit_urb(urb, GFP_ATOMIC);
-       if (result < 0) {
+       if (result < 0 && result != -ENODEV && result != -EPERM) {
+               /* ignoring unrecoverable errors */
                dev_err(dev, "NEEP: Can't resubmit URB (%d) resetting device\n",
                        result);
                goto error;