diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-10 09:46:14 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-09-10 15:32:25 +0200 |
commit | c1578d4fc9e53c9b80d858fc924adc8a66f5fce3 (patch) | |
tree | be33d8ddcc902c49c26e96e39a7f4fccbab796ed /target/linux/ar71xx | |
parent | 92eaf27c62cad5f9832dc7084e1ae14d5e7b47e6 (diff) | |
download | upstream-c1578d4fc9e53c9b80d858fc924adc8a66f5fce3.tar.gz upstream-c1578d4fc9e53c9b80d858fc924adc8a66f5fce3.tar.bz2 upstream-c1578d4fc9e53c9b80d858fc924adc8a66f5fce3.zip |
cleanup ucidef_set_interface* usage
- quote the interface name
- remove call of not existing function
- remove the proto if it's the default proto
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 3 |
1 files changed, 1 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 f185e059b2..b637113eff 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -69,7 +69,6 @@ bsb) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" \ "0@eth1" "1:lan" "3:lan" # XXX: confirm cpu port! - ucidef_set_interface_wlan ;; cpe210|\ @@ -194,7 +193,7 @@ el-m150) ;; tellstick-znet-lite) - ucidef_set_interface_wan "eth0" "dhcp" + ucidef_set_interface_wan "eth0" ucidef_set_interface_raw "wlan" "wlan0" "dhcp" ;; |