disable usbip; patch to 2.6.28.10
[kernel-power] / usbhost / usb / misc / emi26.c
index e762beb..879a980 100644 (file)
@@ -160,7 +160,7 @@ static int emi26_load_firmware (struct usb_device *dev)
                        err("%s - error loading firmware: error = %d", __func__, err);
                        goto wraperr;
                }
-       } while (i > 0);
+       } while (rec);
 
        /* Assert reset (stop the CPU in the EMI) */
        err = emi26_set_reset(dev,1);