Changeset 266d0871 in mainline for uspace/lib/usbvirt/src/stdreq.c
- Timestamp:
- 2010-12-15T13:25:20Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1840e0d
- Parents:
- d5e7668
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/stdreq.c
rd5e7668 r266d0871 157 157 158 158 if (configuration_value == 0) { 159 if (DEVICE_HAS_OP(device, on_state_change)) { 160 device->ops->on_state_change(device, device->state, 161 USBVIRT_STATE_ADDRESS); 162 } 159 163 device->state = USBVIRT_STATE_ADDRESS; 160 164 } else { … … 163 167 * user selected existing configuration. 164 168 */ 169 if (DEVICE_HAS_OP(device, on_state_change)) { 170 device->ops->on_state_change(device, device->state, 171 USBVIRT_STATE_CONFIGURED); 172 } 165 173 device->state = USBVIRT_STATE_CONFIGURED; 166 174 if (device->descriptors) {
Note:
See TracChangeset
for help on using the changeset viewer.