From dad1af5a1f0ae04224a804bd4a59e96f11f493c3 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 29 May 2012 09:12:13 -0700 Subject: [PATCH] compat-wireless: fix patches/05-usb.patch for next-20120524 Signed-off-by: Luis R. Rodriguez --- patches/05-usb.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/05-usb.patch b/patches/05-usb.patch index 9b0cfeab9829..7f78c6ce36cf 100644 --- a/patches/05-usb.patch +++ b/patches/05-usb.patch @@ -9,9 +9,9 @@ USB opt soft_unbid was added as of 2.6.27. +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) .soft_unbind = 1, +#endif + .disable_hub_initiated_lpm = 1, }; - module_usb_driver(p54u_driver); --- a/drivers/net/wireless/ath/ath9k/hif_usb.c +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c @@ -1357,7 +1357,9 @@ static struct usb_driver ath9k_hif_usb_d @@ -21,6 +21,6 @@ USB opt soft_unbid was added as of 2.6.27. +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) .soft_unbind = 1, +#endif + .disable_hub_initiated_lpm = 1, }; - int ath9k_hif_usb_init(void) -- 2.30.2