Changeset 6e5dc07 in mainline for uspace/drv/usbhub/utils.c


Ignore:
Timestamp:
2010-12-19T10:33:15Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f568ee7
Parents:
f2962621
Message:

proper function return

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/utils.c

    rf2962621 r6e5dc07  
    401401        if(opResult!=EOK){
    402402                printf("[usb_hub] could not get device descriptor, %d\n",opResult);
    403                 return 1;///\TODO some proper error code needed
     403                return opResult;
    404404        }
    405405        printf("[usb_hub] hub has %d configurations\n",std_descriptor.configuration_count);
     
    413413        if(opResult!=EOK){
    414414                printf("[usb_hub] could not get configuration descriptor, %d\n",opResult);
    415                 return 1;///\TODO some proper error code needed
     415                return opResult;
    416416        }
    417417        //set configuration
Note: See TracChangeset for help on using the changeset viewer.