Changeset 954ea70 in mainline for uspace/lib/usbvirt/stdreq.c
- Timestamp:
- 2010-10-22T14:55:33Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b8a3cda
- Parents:
- a498728
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/stdreq.c
ra498728 r954ea70 117 117 } 118 118 119 /* 120 * TODO: handle when this request is invalid (e.g. 121 * setting address when in configured state). 122 */ 123 if (new_address == 0) { 124 device->state = USBVIRT_STATE_DEFAULT; 125 } else { 126 device->state = USBVIRT_STATE_ADDRESS; 127 } 128 129 device->address = new_address; 119 dev_new_address = new_address; 130 120 131 121 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.