mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Initialize id before using it.
Submitted by: mjacob Approved by: re@
This commit is contained in:
parent
2a9a64c6a2
commit
78f3413f0c
1 changed files with 1 additions and 1 deletions
|
|
@ -292,8 +292,8 @@ umodem_attach(device_t self)
|
|||
|
||||
sc->sc_udev = dev;
|
||||
sc->sc_ctl_iface = uaa->iface;
|
||||
sc->sc_ctl_iface_no = id->bInterfaceNumber;
|
||||
id = usbd_get_interface_descriptor(sc->sc_ctl_iface);
|
||||
sc->sc_ctl_iface_no = id->bInterfaceNumber;
|
||||
device_printf(self, "iclass %d/%d", id->bInterfaceClass,
|
||||
id->bInterfaceSubClass);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue