Ignore:
File:
1 edited

Legend:

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

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