[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / mac80211 / patches / 110-disable_usb_compat.patch
1 --- a/compat/compat-2.6.28.c
2 +++ b/compat/compat-2.6.28.c
3 @@ -165,7 +165,7 @@ EXPORT_SYMBOL(pcmcia_loop_config);
4
5 #endif /* CONFIG_PCMCIA */
6
7 -#if defined(CONFIG_USB) || defined(CONFIG_USB_MODULE)
8 +#if 0
9
10 void usb_unpoison_urb(struct urb *urb)
11 {
12 --- a/compat/compat-2.6.29.c
13 +++ b/compat/compat-2.6.29.c
14 @@ -49,7 +49,7 @@ void netdev_attach_ops(struct net_device
15 EXPORT_SYMBOL(netdev_attach_ops);
16
17 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23))
18 -#if defined(CONFIG_USB) || defined(CONFIG_USB_MODULE)
19 +#if 0
20 /**
21 * usb_unpoison_anchored_urbs - let an anchor be used successfully again
22 * @anchor: anchor the requests are bound to
23 --- a/include/linux/compat-2.6.28.h
24 +++ b/include/linux/compat-2.6.28.h
25 @@ -69,7 +69,7 @@ int pcmcia_loop_config(struct pcmcia_dev
26 /* USB anchors were added as of 2.6.23 */
27 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23))
28
29 -#if defined(CONFIG_USB) || defined(CONFIG_USB_MODULE)
30 +#if 0
31 #if 0
32 extern void usb_poison_urb(struct urb *urb);
33 #endif
34 --- a/config.mk
35 +++ b/config.mk
36 @@ -503,7 +503,7 @@ endif #CONFIG_COMPAT_KERNEL_2_6_29
37 # This activates a threading fix for usb urb.
38 # this is mainline commit: b3e670443b7fb8a2d29831b62b44a039c283e351
39 # This fix will be included in some stable releases.
40 -CONFIG_COMPAT_USB_URB_THREAD_FIX=y
41 +# CONFIG_COMPAT_USB_URB_THREAD_FIX=y
42
43 CONFIG_ATH9K_HTC=m
44 # CONFIG_ATH9K_HTC_DEBUGFS=y
This page took 0.044999 seconds and 5 git commands to generate.