Display full configuration obtained using MBIM control channel in the
log, from umbim output verbatim, for easier troubleshooting, and in
preparation for parser refactoring.
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
local zone="$(fw3 -q network "$interface" 2>/dev/null)"
echo "mbim[$$]" "Setting up $ifname"
- eval $(umbim $DBG -n -t $tid -d $device config | sed 's/: /=/g')
+ local mbimconfig="$(umbim $DBG -n -t $tid -d $device config)"
+ echo "$mbimconfig"
+ eval $(echo "$mbimconfig" | sed 's/: /=/g')
tid=$((tid + 1))
proto_init_update "$ifname" 1