summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_ath3k.patch
blob: cbe44c235e2c2f3ef6936a45bc262a13170b524b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/bluetooth/ath3k.c
+++ b/drivers/bluetooth/ath3k.c
@@ -507,7 +507,9 @@ static struct usb_driver ath3k_driver =
 	.probe		= ath3k_probe,
 	.disconnect	= ath3k_disconnect,
 	.id_table	= ath3k_table,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
 	.disable_hub_initiated_lpm = 1,
+#endif
 };
 
 module_usb_driver(ath3k_driver);