Changes in uspace/srv/devman/main.c [0418050:aa7dc64] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
r0418050 raa7dc64 477 477 dev = fun->dev; 478 478 479 /* 480 * For a valid function to connect to we need a device. The root 481 * function, for example, has no device and cannot be connected to. 482 * This means @c dev needs to be valid regardless whether we are 483 * connecting to a device or to a function. 484 */ 485 if (dev == NULL) { 479 if (fun == NULL && dev == NULL) { 486 480 printf(NAME ": devman_forward error - no device or function with " 487 481 "handle %" PRIun " was found.\n", handle); … … 568 562 } 569 563 570 async_forward_fast(iid, dev->drv->phone, DRIVER_CLIENT, fun->handle, 0,564 async_forward_fast(iid, dev->drv->phone, DRIVER_CLIENT, dev->handle, 0, 571 565 IPC_FF_NONE); 572 566 printf(NAME ": devman_connection_devmapper: forwarded connection to "
Note:
See TracChangeset
for help on using the changeset viewer.