summaryrefslogtreecommitdiffstats
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.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 1805108..8c50cf5 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -363,7 +363,9 @@ kue_setmulti(struct kue_softc *sc)
Static void
kue_reset(struct kue_softc *sc)
{
- if (usbd_set_config_no(sc->kue_udev, KUE_CONFIG_NO, 0)) {
+ if (usbd_set_config_no(sc->kue_udev, KUE_CONFIG_NO, 0) ||
+ usbd_device2interface_handle(sc->kue_udev, KUE_IFACE_IDX,
+ &sc->kue_iface)) {
printf("kue%d: getting interface handle failed\n",
sc->kue_unit);
}
OpenPOWER on IntegriCloud