1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Initialize devname.

This commit is contained in:
Matt Jacob 2007-06-10 01:28:26 +00:00
parent 3c7e4206c2
commit cffc6c3fe1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170479

View File

@ -180,6 +180,8 @@ USB_ATTACH(umct)
sc->sc_intr_number = -1;
sc->sc_intr_pipe = NULL;
devname = device_get_nameunit(ucom->sc_dev);
err = usbd_set_config_index(dev, UMCT_CONFIG_INDEX, 1);
if (err) {
printf("%s: failed to set configuration: %s\n",