From: Aurelio <sk...@us...> - 2007-08-30 22:46:57
|
Update of /cvsroot/zyxel630-11/amedyn2/module In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv6036 Modified Files: amedyn2.c Log Message: Fix misplacing of a goto. (Xavier) Index: amedyn2.c =================================================================== RCS file: /cvsroot/zyxel630-11/amedyn2/module/amedyn2.c,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** amedyn2.c 30 Aug 2007 22:44:06 -0000 1.22 --- amedyn2.c 30 Aug 2007 22:46:46 -0000 1.23 *************** *** 239,244 **** ret = usb_bulk_msg (usb_dev, usb_sndbulkpipe(usb_dev, ENDPOINT_FIRMWARE), buf, 3, NULL, DATA_TIMEOUT); if (ret < 0) { - goto out_free; dbg("amedyn_upload_firmware: write Init firmware to modem failed (%d)!", ret); } } while (offset < fw1->size ); --- 239,244 ---- ret = usb_bulk_msg (usb_dev, usb_sndbulkpipe(usb_dev, ENDPOINT_FIRMWARE), buf, 3, NULL, DATA_TIMEOUT); if (ret < 0) { dbg("amedyn_upload_firmware: write Init firmware to modem failed (%d)!", ret); + goto out_free; } } while (offset < fw1->size ); |