aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-05-25 09:44:28 +0200
committerJo-Philipp Wich <jo@mein.io>2018-05-25 09:46:55 +0200
commit3b749d4acc72a776681d70ba01dffe1d5dc5401e (patch)
treeaa226f4b639c53b28f3cfc6bd61ccc01304fa8b2 /target/linux/ar71xx/base-files
parent7e664b7c2dc00006ba29bf947cf177b5bccdc47d (diff)
downloadupstream-3b749d4acc72a776681d70ba01dffe1d5dc5401e.tar.gz
upstream-3b749d4acc72a776681d70ba01dffe1d5dc5401e.tar.bz2
upstream-3b749d4acc72a776681d70ba01dffe1d5dc5401e.zip
ar71xx: fix bad "proto" references in default network configuration
This change was originally meant to go along with the ucidef_set_interface() fixup. Fixes: 7e664b7c2d ("base-files: fix ucidef_set_interface() protocol selection") Fixes: 85048a9c1f ("base-files: rework _ucidef_set_interface to be more generic") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 1d27ab0bfe..a8b243b310 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -402,7 +402,7 @@ ar71xx_setup_interfaces()
"0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
;;
ew-balin)
- ucidef_set_interface "usb2" ifname "usb0" proto "static"
+ ucidef_set_interface "usb2" ifname "usb0" protocol "static"
ucidef_add_switch "switch0" \
"0@eth0" "5:lan:4" "4:lan:5" "3:wan"
;;
@@ -469,7 +469,7 @@ ar71xx_setup_interfaces()
;;
tellstick-znet-lite)
ucidef_set_interface_wan "eth0"
- ucidef_set_interface "wlan" ifname "wlan0" proto "dhcp"
+ ucidef_set_interface "wlan" ifname "wlan0" protocol "dhcp"
;;
tl-mr3420-v2|\
tl-wr841n-v8|\