Changeset 59ff52d in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2018-10-31T00:42:53Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Parents:
8048931c
git-author:
Jakub Jermar <jakub@…> (2018-10-31 00:41:46)
git-committer:
Jakub Jermar <jakub@…> (2018-10-31 00:42:53)
Message:

Add async_accept_0() for accepting connections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r8048931c r59ff52d  
    339339{
    340340        /* Accept connection */
    341         async_answer_5(icall, EOK, 0, 0, 0, 0, async_get_label());
     341        async_accept_0(icall);
    342342
    343343        while (true) {
     
    419419                ret = (*fun->ops->open)(fun);
    420420
    421         async_answer_5(icall, ret, 0, 0, 0, 0, async_get_label());
    422421        if (ret != EOK) {
     422                async_answer_0(icall, ret);
    423423                fun_del_ref(fun);
    424424                return;
    425425        }
     426
     427        async_accept_0(icall);
    426428
    427429        while (true) {
Note: See TracChangeset for help on using the changeset viewer.