Re: [PATCH] bearer-mbim: refactor disconnect_set_ready()

2017-08-06 Thread Aleksander Morgado
On Fri, Aug 4, 2017 at 5:30 PM, Dan Williams wrote: > On Fri, 2017-08-04 at 14:00 +0200, Aleksander Morgado wrote: >> Try to make it more clear which are the different branches in the >> logic, and jump out as soon as the branch is finished. >> --- >> >> Hey, >> >> How about something like this? >

[PATCH] bearer-mbim: stop trying to reload stats on OperationNotAllowed

2017-08-06 Thread Aleksander Morgado
The Sierra Wireless EM7345 reports OperationNotAllowed when trying to load stats, just cancel stats reloading if so. ModemManager[8318]: [/dev/cdc-wdm1] Received message (translated)... >> Header: >> length = 48 >> type= command-done (0x8003) >>