aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-06 08:27:39 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-06 08:48:54 -0400
commit01bb75ed2696d4f5b252ca773a53474d6d533f68 (patch)
treed6181d361924bb7610263a7cd8a56749260007e5 /drivers/bluetooth
parentcc78b44ba2231d6a92707407cd199b2e05fe3528 (diff)
Bluetooth: Remove module parameters for ignoring USB devices
The module parameters to ignore devices based on USB VID/PID are not needed at all. So just remove them. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btusb.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 21f10cac4fac..14314a12babe 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -30,9 +30,6 @@
30 30
31#define VERSION "0.6" 31#define VERSION "0.6"
32 32
33static bool ignore_dga;
34static bool ignore_csr;
35static bool ignore_sniffer;
36static bool disable_scofix; 33static bool disable_scofix;
37static bool force_scofix; 34static bool force_scofix;
38 35
@@ -1683,15 +1680,6 @@ static int btusb_probe(struct usb_interface *intf,
1683 if (id->driver_info == BTUSB_IGNORE) 1680 if (id->driver_info == BTUSB_IGNORE)
1684 return -ENODEV; 1681 return -ENODEV;
1685 1682
1686 if (ignore_dga && id->driver_info & BTUSB_DIGIANSWER)
1687 return -ENODEV;
1688
1689 if (ignore_csr && id->driver_info & BTUSB_CSR)
1690 return -ENODEV;
1691
1692 if (ignore_sniffer && id->driver_info & BTUSB_SNIFFER)
1693 return -ENODEV;
1694
1695 if (id->driver_info & BTUSB_ATH3012) { 1683 if (id->driver_info & BTUSB_ATH3012) {
1696 struct usb_device *udev = interface_to_usbdev(intf); 1684 struct usb_device *udev = interface_to_usbdev(intf);
1697 1685
@@ -1981,15 +1969,6 @@ static struct usb_driver btusb_driver = {
1981 1969
1982module_usb_driver(btusb_driver); 1970module_usb_driver(btusb_driver);
1983 1971
1984module_param(ignore_dga, bool, 0644);
1985MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001");
1986
1987module_param(ignore_csr, bool, 0644);
1988MODULE_PARM_DESC(ignore_csr, "Ignore devices with id 0a12:0001");
1989
1990module_param(ignore_sniffer, bool, 0644);
1991MODULE_PARM_DESC(ignore_sniffer, "Ignore devices with id 0a12:0002");
1992
1993module_param(disable_scofix, bool, 0644); 1972module_param(disable_scofix, bool, 0644);
1994MODULE_PARM_DESC(disable_scofix, "Disable fixup of wrong SCO buffer size"); 1973MODULE_PARM_DESC(disable_scofix, "Disable fixup of wrong SCO buffer size");
1995 1974