mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use correct enum instead of constant value.
MFC after: 1 week Spotted by: scf @ Approved by: re (kib)
This commit is contained in:
parent
0c4dbd5af7
commit
33ec9f0cb0
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ enum libusb_speed
|
|||
libusb_get_device_speed(libusb_device *dev)
|
||||
{
|
||||
if (dev == NULL)
|
||||
return (0); /* should not happen */
|
||||
return (LIBUSB_SPEED_UNKNOWN); /* should not happen */
|
||||
|
||||
switch (libusb20_dev_get_speed(dev->os_priv)) {
|
||||
case LIBUSB20_SPEED_LOW:
|
||||
|
|
|
|||
Loading…
Reference in a new issue