Author: rakuco (ports committer)
Date: Wed Dec 26 19:12:31 2012
New Revision: 244714
URL: http://svnweb.freebsd.org/changeset/base/244714

Log:
  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

Modified:
  head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c

Modified: head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
==============================================================================
--- head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c    Wed Dec 26 18:51:37 
2012        (r244713)
+++ head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c    Wed Dec 26 19:12:31 
2012        (r244714)
@@ -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) },
 };
 
 /*
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to