mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
This is now controlled by a module parameter and the default configuration depends on brcmsmac being installed. This patch causes b43 to take core rev 17 and 18 always by default. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37307 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
546 B
Diff
12 lines
546 B
Diff
--- a/drivers/net/wireless/b43/main.c
|
|
+++ b/drivers/net/wireless/b43/main.c
|
|
@@ -118,7 +118,7 @@ static int b43_modparam_pio = 0;
|
|
module_param_named(pio, b43_modparam_pio, int, 0644);
|
|
MODULE_PARM_DESC(pio, "Use PIO accesses by default: 0=DMA, 1=PIO");
|
|
|
|
-static int modparam_allhwsupport = !IS_ENABLED(CPTCFG_BRCMSMAC);
|
|
+static int modparam_allhwsupport = 1;
|
|
module_param_named(allhwsupport, modparam_allhwsupport, int, 0444);
|
|
MODULE_PARM_DESC(allhwsupport, "Enable support for all hardware (even it if overlaps with the brcmsmac driver)");
|
|
|