Re: [PATCH v2] telit: unsupported CSIM lock should not skip loading unlock retries

2017-04-12 Thread Carlo Lobrano
> Is this previous part really needed? Is there any case in which a LOCK command would succeed but then UNLOCK command report a "not supported" error? I guess it doesn't harm to have this, though, your call. ​Right, there is no real need for this, but just for completeness I prefer to keep it, if

Re: [PATCH v2] telit: unsupported CSIM lock should not skip loading unlock retries

2017-04-10 Thread Aleksander Morgado
On 10/04/17 12:25, Carlo Lobrano wrote: > Some modems do not support CSIM lock/unlock, but they do support > querying SIM unlock retries through +CSIM command. > > If CSIM lock returns with "unsupported command" do not propagate > the error and continue with the other CSIM queries instead, moreove

[PATCH v2] telit: unsupported CSIM lock should not skip loading unlock retries

2017-04-10 Thread Carlo Lobrano
Some modems do not support CSIM lock/unlock, but they do support querying SIM unlock retries through +CSIM command. If CSIM lock returns with "unsupported command" do not propagate the error and continue with the other CSIM queries instead, moreover the CSIM lock feature is signed as FEATURE_UNSUP