summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch
blob: 5c57bf8747dbff5dd55dc5c5911e7bd5f39fd6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -1632,7 +1632,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);