aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2000-11-23 05:58:48 +0000
committerBill Paul <wpaul@FreeBSD.org>2000-11-23 05:58:48 +0000
commit0b32bab160daf44f3c6bb0d9d01e50cceac67454 (patch)
treed46c21b87ac82a557bd45b1a003c63c2c85ce6d4 /sys/dev
parent466b14d75884a8ed0b011c3e488ef8f9d71152c6 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_kue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index d0e27df39eff..f3a5581713a8 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -877,8 +877,10 @@ Static void kue_init(xsc)
KUE_LOCK(sc);
- if (ifp->if_flags & IFF_RUNNING)
+ if (ifp->if_flags & IFF_RUNNING) {
+ KUE_UNLOCK(sc);
return;
+ }
/* Set MAC address */
kue_ctl(sc, KUE_CTL_WRITE, KUE_CMD_SET_MAC,