lantiq: use wpad-mini for WBMR boards
authorMathias Kresin <dev@kresin.me>
Fri, 14 Oct 2016 04:27:14 +0000 (06:27 +0200)
committerMathias Kresin <dev@kresin.me>
Sat, 15 Oct 2016 07:01:45 +0000 (09:01 +0200)
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>
target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps [deleted file]
target/linux/lantiq/image/Makefile

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 (file)
index e75fb84..0000000
+++ /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
index 3bb6441..947262a 100644 (file)
@@ -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