summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch
blob: 9cc03406b529ee1ff663743573f4b35669131a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -1634,7 +1634,9 @@ static struct usb_driver btusb_driver =
 #endif
 	.id_table	= btusb_table,
 	.supports_autosuspend = 1,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
 	.disable_hub_initiated_lpm = 1,
+#endif
 };
 
 module_usb_driver(btusb_driver);