X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F110-disable_usb_compat.patch;h=d6287fd045db24964d53409735754ed0a7a465cd;hb=43555e0fe2655008418be332d06fbbe465b46d49;hp=d87eb47d406542e9c962dd1632286839d125ff17;hpb=34ad7f6499be7e2190d8fd92423ab92a9d8f4a22;p=openwrt.git diff --git a/package/mac80211/patches/110-disable_usb_compat.patch b/package/mac80211/patches/110-disable_usb_compat.patch index d87eb47d40..d6287fd045 100644 --- a/package/mac80211/patches/110-disable_usb_compat.patch +++ b/package/mac80211/patches/110-disable_usb_compat.patch @@ -1,6 +1,6 @@ --- a/compat/compat-2.6.28.c +++ b/compat/compat-2.6.28.c -@@ -166,7 +166,7 @@ EXPORT_SYMBOL(pcmcia_loop_config); +@@ -165,7 +165,7 @@ EXPORT_SYMBOL_GPL(pcmcia_loop_config); #endif /* CONFIG_PCMCIA */ @@ -11,8 +11,8 @@ { --- a/compat/compat-2.6.29.c +++ b/compat/compat-2.6.29.c -@@ -53,7 +53,7 @@ void netdev_attach_ops(struct net_device - EXPORT_SYMBOL(netdev_attach_ops); +@@ -49,7 +49,7 @@ void netdev_attach_ops(struct net_device + EXPORT_SYMBOL_GPL(netdev_attach_ops); #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)) -#if defined(CONFIG_USB) || defined(CONFIG_USB_MODULE) @@ -22,7 +22,7 @@ * @anchor: anchor the requests are bound to --- a/include/linux/compat-2.6.28.h +++ b/include/linux/compat-2.6.28.h -@@ -52,7 +52,7 @@ int pcmcia_loop_config(struct pcmcia_dev +@@ -74,7 +74,7 @@ int pcmcia_loop_config(struct pcmcia_dev /* USB anchors were added as of 2.6.23 */ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)) @@ -31,3 +31,14 @@ #if 0 extern void usb_poison_urb(struct urb *urb); #endif +--- a/config.mk ++++ b/config.mk +@@ -510,7 +510,7 @@ endif #CONFIG_COMPAT_KERNEL_2_6_29 + # This activates a threading fix for usb urb. + # this is mainline commit: b3e670443b7fb8a2d29831b62b44a039c283e351 + # This fix will be included in some stable releases. +-export CONFIG_COMPAT_USB_URB_THREAD_FIX=y ++# export CONFIG_COMPAT_USB_URB_THREAD_FIX=y + + export CONFIG_ATH9K_HTC=m + # export CONFIG_ATH9K_HTC_DEBUGFS=y