Changeset 005ac3c in mainline for uspace/srv/devman/main.c


Ignore:
Timestamp:
2014-07-09T10:27:04Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ca15eb7
Parents:
8f0dc26
Message:

devman_forward() should disregard device state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/main.c

    r8f0dc26 r005ac3c  
    116116               
    117117                fwd_h = dev->pfun->handle;
    118         } else if (dev->state == DEVICE_USABLE) {
     118        } else {
    119119                /* Connect to the specified function */
    120120                driver = dev->drv;
    121                 assert(driver != NULL);
    122                
    123121                fwd_h = handle;
    124122        }
Note: See TracChangeset for help on using the changeset viewer.