summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_kue.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/if_kue.c')
-rw-r--r--sys/dev/usb/if_kue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index f3a5581713a8..4d89b7072010 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -450,7 +450,8 @@ USB_ATTACH(kue)
}
}
- mtx_init(&sc->kue_mtx, device_get_nameunit(self), MTX_DEF);
+ mtx_init(&sc->kue_mtx, device_get_nameunit(self), MTX_DEF |
+ MTX_RECURSE);
KUE_LOCK(sc);
/* Load the firmware into the NIC. */