summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/05-usb/ath9k_htc.patch
blob: 1c7ad215126b2b70236b0e5d97ea0265a3b293b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/net/wireless/ath/ath9k/hif_usb.c
+++ b/drivers/net/wireless/ath/ath9k/hif_usb.c
@@ -1367,7 +1367,9 @@ static struct usb_driver ath9k_hif_usb_d
 	.reset_resume = ath9k_hif_usb_resume,
 #endif
 	.id_table = ath9k_hif_usb_ids,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
 	.soft_unbind = 1,
+#endif
 	.disable_hub_initiated_lpm = 1,
 };