umbim: log output of 'config' step
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>
This commit is contained in:
parent
9ddbcd73d8
commit
5f873df8d4
1 changed files with 3 additions and 1 deletions
|
@ -179,7 +179,9 @@ _proto_mbim_setup() {
|
||||||
local zone="$(fw3 -q network "$interface" 2>/dev/null)"
|
local zone="$(fw3 -q network "$interface" 2>/dev/null)"
|
||||||
|
|
||||||
echo "mbim[$$]" "Setting up $ifname"
|
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))
|
tid=$((tid + 1))
|
||||||
|
|
||||||
proto_init_update "$ifname" 1
|
proto_init_update "$ifname" 1
|
||||||
|
|
Loading…
Reference in a new issue