Fix the setting of special flags for bcm2035 device

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26666 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes
2008-07-28 19:19:09 +00:00
parent 162a7f5f8e
commit 2011fa73d0
@@ -269,8 +269,9 @@ device_added(const usb_device* dev, void** cookie)
/* Place to find out whats our concrete device and set up some special info to our driver */
/* TODO: if this code increases too much reconsider this implementation*/
desc = usb->get_device_descriptor(dev);
if ( desc->vendor_id == 0x0a5c && desc->product_id == 0x200a && desc->product_id == 0x2009) {
// Tecom Device VENDOR_ID 0x0a5c PRODUCT_ID 0x2035
if ( desc->vendor_id == 0x0a5c && (desc->product_id == 0x200a ||
desc->product_id == 0x2009 ||
desc->product_id == 0x2035 )) {
new_bt_dev->driver_info = BT_WILL_NEED_A_RESET | BT_SCO_NOT_WORKING;
}
/*