diff options
Diffstat (limited to 'device/subrs.c')
-rw-r--r-- | device/subrs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device/subrs.c b/device/subrs.c index a10b72d..cfaaecd 100644 --- a/device/subrs.c +++ b/device/subrs.c @@ -80,8 +80,8 @@ void if_init_queues(struct ifnet *ifp) IFQ_INIT(&ifp->if_snd); queue_init(&ifp->if_rcv_port_list); queue_init(&ifp->if_snd_port_list); - simple_lock_init(&ifp->if_rcv_port_list_lock); - simple_lock_init(&ifp->if_snd_port_list_lock); + port_list_lock_init(&ifp->if_rcv_port_list_lock); + port_list_lock_init(&ifp->if_snd_port_list_lock); } |