aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-10-14 06:27:14 +0200
committerMathias Kresin <dev@kresin.me>2016-10-15 09:01:45 +0200
commit36afaae847135144611962eafd33e9c69ff5e1e2 (patch)
treee7ac03cc7918495cbe8ccb6612c537e3dc775981 /target/linux
parent335ccddc10e1e097370f0b21fb055ce55748d1df (diff)
downloadupstream-36afaae847135144611962eafd33e9c69ff5e1e2.tar.gz
upstream-36afaae847135144611962eafd33e9c69ff5e1e2.tar.bz2
upstream-36afaae847135144611962eafd33e9c69ff5e1e2.zip
lantiq: use wpad-mini for WBMR boards
The WBMR boards are the only ones in the whole tree selecting the wpad and hostapd-utils package by default. Remove the wps uci-default script as well, there is no obvious reason why the wps config need to be set only for this board. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps16
-rw-r--r--target/linux/lantiq/image/Makefile6
2 files changed, 2 insertions, 20 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps b/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps
deleted file mode 100644
index e75fb8493f..0000000000
--- a/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps
+++ /dev/null
@@ -1,16 +0,0 @@
-. /lib/functions.sh
-. /lib/functions/lantiq.sh
-
-set_wps() {
- uci set wireless.$1.wps_pushbutton=0
- uci set wireless.$1.wps_device_name="OpenWrt - $(lantiq_board_model)"
-}
-
-board=$(lantiq_board_name)
-case $board in
-WBMR)
- config_load wireless
- config_foreach set_wps wifi-iface
- uci commit wireless
- ;;
-esac
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index 3bb644142b..947262a952 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -502,8 +502,7 @@ define Device/WBMRA
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoa \
- kmod-ath9k wpad hostapd-utils \
- swconfig
+ kmod-ath9k wpad-mini swconfig
endef
TARGET_DEVICES += WBMRA
@@ -515,8 +514,7 @@ define Device/WBMRB
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoa \
- kmod-ath9k wpad hostapd-utils \
- swconfig
+ kmod-ath9k wpad-mini swconfig
endef
TARGET_DEVICES += WBMRB