Changeset f2962621 in mainline for uspace/lib/usbvirt/src/callback.c
- Timestamp:
- 2010-12-17T10:14:01Z (12 years ago)
- Branches:
- lfn, master, serial
- Children:
- 6e5dc07
- Parents:
- 9223dc5c (diff), 11658b64 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/callback.c
r9223dc5c rf2962621 40 40 #include <mem.h> 41 41 42 #include "hub.h"43 #include "device.h"44 42 #include "private.h" 45 43 … … 155 153 * If the request was processed, we will send data back. 156 154 */ 157 if ( rc == EOK) {155 if ((rc == EOK) && (expected_len > 0)) { 158 156 size_t receive_len; 159 157 ipc_callid_t callid; … … 203 201 204 202 callid = async_get_call(&call); 205 switch (IPC_GET_ METHOD(call)) {203 switch (IPC_GET_IMETHOD(call)) { 206 204 case IPC_M_PHONE_HUNGUP: 207 205 ipc_answer_0(callid, EOK);
Note: See TracChangeset
for help on using the changeset viewer.