lantiq: do not set default firmware file

We are now shipping a DSL firmware, do not set it by default to some
file name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48941
v19.07.3_mercusys_ac12_duma
Felix Fietkau 8 years ago
parent a937e160c8
commit 4ac99abeb3

@ -335,15 +335,13 @@ ucidef_add_adsl_modem() {
ucidef_add_vdsl_modem() {
local annex="$1"
local firmware="$2"
local tone="$3"
local xfer_mode="$4"
local tone="$2"
local xfer_mode="$3"
json_select_object dsl
json_select_object modem
json_add_string type "vdsl"
json_add_string annex "$annex"
json_add_string firmware "$firmware"
json_add_string tone "$tone"
json_add_string xfer_mode "$xfer_mode"
json_select ..

@ -144,7 +144,7 @@ fi
if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
interface_wan="ptm0"
ucidef_add_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm"
ucidef_add_vdsl_modem "$annex" "av" "ptm"
else
interface_wan="nas0"
ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"

Loading…
Cancel
Save