Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/netif/netif_skel.c

    rfe8dfa6 r774e6d1a  
    3333/** @file
    3434 * Network interface module skeleton implementation.
    35  * @see netif_skel.h
     35 * @see netif.h
    3636 */
    3737
     
    5252#include <adt/measured_strings.h>
    5353#include <net/device.h>
     54#include <nil_interface.h>
    5455#include <netif_skel.h>
    55 #include <nil_remote.h>
    5656
    5757DEVICE_MAP_IMPLEMENT(netif_device_map, netif_device_t);
     
    130130        if (result > NETIF_NULL) {
    131131                int phone = device->nil_phone;
     132                fibril_rwlock_write_unlock(&netif_globals.lock);
    132133                nil_device_state_msg(phone, device_id, result);
    133                 fibril_rwlock_write_unlock(&netif_globals.lock);
    134134                return EOK;
    135135        }
     
    166166        if (result > NETIF_NULL) {
    167167                int phone = device->nil_phone;
     168                fibril_rwlock_write_unlock(&netif_globals.lock);
    168169                nil_device_state_msg(phone, device_id, result);
    169                 fibril_rwlock_write_unlock(&netif_globals.lock);
    170170                return EOK;
    171171        }
Note: See TracChangeset for help on using the changeset viewer.