openwrt/package/acx/patches/002-disable-usb.diff

22 lines
451 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ KERNELDIR = /lib/modules/$(KVER)/build
obj-m += acx.o
acx-obj-y += pci.o
-acx-obj-y += usb.o
+#acx-obj-y += usb.o
acx-objs := wlan.o conv.o ioctl.o common.o $(acx-obj-y)
--- a/acx_config.h
+++ b/acx_config.h
@@ -1,6 +1,6 @@
/* temporary hack until proper Kconfig integration */
#define CONFIG_ACX_PCI 1
-#define CONFIG_ACX_USB 1
+/*#define CONFIG_ACX_USB 1*/
#define ACX_RELEASE "v0.3.37"