diff options
author | rakuco <rakuco@FreeBSD.org> | 2012-12-26 19:12:31 +0000 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2012-12-26 19:12:31 +0000 |
commit | bb2a206235f941004da213f5a9d762ddba97009e (patch) | |
tree | ad8f82e481be026ee483df5b478126df1b4b3f3d /sys/netgraph | |
parent | 13dabd466a14c3ee7b3daebcffa9207bd79c8e48 (diff) | |
download | FreeBSD-src-bb2a206235f941004da213f5a9d762ddba97009e.zip FreeBSD-src-bb2a206235f941004da213f5a9d762ddba97009e.tar.gz |
Use the correct USB interface macros instead of USB_IF_CSI.
As pointed out by hselasky@, USB_IF_CSI is the wrong macro here since we want
to declare the device's interface class, subclass and protocol, not class,
subclass and driver info.
Follow-up to r244704.
PR: kern/174707
Approved by: glebius
MFC after: 1 week
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c index 1f291e8..cb7d94c 100644 --- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c +++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c @@ -401,7 +401,9 @@ static const STRUCT_USB_HOST_ID ubt_devs[] = /* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */ { USB_VENDOR(USB_VENDOR_BROADCOM), - USB_IF_CSI(UICLASS_VENDOR, 0x01, 0x01) }, + USB_IFACE_CLASS(UICLASS_VENDOR), + USB_IFACE_SUBCLASS(UDSUBCLASS_RF), + USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) }, }; /* |