mirror of git://git.sysmocom.de/ofono
qmi: fix off-by-one error in qmi_error_to_ofono_cme()
Also fixes the Gobi2000 when trying to register manual to a network
This commit is contained in:
parent
08e27c2d5f
commit
b0171fc03a
|
@ -479,7 +479,7 @@ static const char *__error_to_string(uint16_t error)
|
|||
|
||||
int qmi_error_to_ofono_cme(int qmi_error) {
|
||||
switch (qmi_error) {
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
return 4; /* Not Supported */
|
||||
case 0x0052:
|
||||
return 32; /* Access Denied */
|
||||
|
|
Loading…
Reference in New Issue