mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-21 14:36:56 +00:00
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
@ -179,7 +179,9 @@ _proto_mbim_setup() {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user