Add the default WAN interface to use QMI, to have WAN configured
right from the start.
Signed-off-by: Jan Fuchs <jf@simonwunderlich.de>
case "$board" in
aerohive,hiveap-121|\
- glinet,gl-e750|\
meraki,mr18)
ucidef_set_interface_lan "eth0"
;;
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:2" "3:lan:1" "1:wan"
;;
+ glinet,gl-e750|\
+ zte,mf282)
+ ucidef_set_interface_lan "eth0"
+ ucidef_set_interface "wan" device "/dev/cdc-wdm0" protocol "qmi"
+ ;;
glinet,gl-xe300)
ucidef_set_interface_wan "eth1"
ucidef_add_switch "switch0" \
ucidef_add_switch "switch0" \
"0@eth0" "5:lan"
;;
- zte,mf282)
- ucidef_set_interface_lan "eth0"
- ucidef_set_interface "wan" device "/dev/cdc-wdm0" protocol "qmi"
- ;;
zte,mf286|\
zte,mf286a|\
zte,mf286r)