2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Mathias Kresin
2016-10-14 06:27:14 +02:00
parent 335ccddc10
commit 36afaae847
2 changed files with 2 additions and 20 deletions

View File

@@ -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