Re: [LEDE-DEV] [PATCH] uqmi: fix raw-ip mode for newer lte modems

2017-11-27 Thread Bjørn Mork
Koen Vandeputte writes: > On 2017-11-27 17:53, Bjørn Mork wrote: >> Koen Vandeputte writes: >> >>> @@ -99,6 +99,13 @@ proto_qmi_setup() { >>> uqmi -s -d "$device" --set-data-format 802.3 >>> uqmi -s -d "$device" --wda-set-data-format 802.3 >>> + dataformat="$(uqmi -s -d "$devic

Re: [LEDE-DEV] [PATCH] uqmi: fix raw-ip mode for newer lte modems

2017-11-27 Thread Bjørn Mork
Koen Vandeputte writes: > @@ -99,6 +99,13 @@ proto_qmi_setup() { > > uqmi -s -d "$device" --set-data-format 802.3 > uqmi -s -d "$device" --wda-set-data-format 802.3 > + dataformat="$(uqmi -s -d "$device" --wda-get-data-format)" > + > + if [ "$dataformat" = '"raw-ip"' ]; then

Re: [LEDE-DEV] [PATCH] uqmi: fix raw-ip mode for newer lte modems

2017-11-27 Thread Koen Vandeputte
On 2017-11-27 17:53, Bjørn Mork wrote: Koen Vandeputte writes: @@ -99,6 +99,13 @@ proto_qmi_setup() { uqmi -s -d "$device" --set-data-format 802.3 uqmi -s -d "$device" --wda-set-data-format 802.3 + dataformat="$(uqmi -s -d "$device" --wda-get-data-format)" + + if [