Changeset 12f9f0d0 in mainline for uspace/srv/devman/main.c
- Timestamp:
- 2011-08-17T13:39:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e280857
- Parents:
- 45058baa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
r45058baa r12f9f0d0 682 682 683 683 if (fun == NULL || fun->dev->drv == NULL) { 684 log_msg(LVL_WARN, "devman_connection_loc(): function " 685 "not found.\n"); 684 686 async_answer_0(iid, ENOENT); 685 687 return; … … 687 689 688 690 dev = fun->dev; 689 690 if ((dev->state != DEVICE_USABLE) || (!dev->drv->sess)) {691 async_answer_0(iid, EINVAL);692 return;693 }694 691 695 692 async_exch_t *exch = async_exchange_begin(dev->drv->sess);
Note:
See TracChangeset
for help on using the changeset viewer.