sms: allow sms send for EUTRAN sms only state

Patch to be considered, if support for EUTRAN SMS states accepted.

SMS registered flag while sending sms to consider the new EUTRAN
registered status also.
This commit is contained in:
Anirudh Gargi 2018-09-28 11:16:58 +05:30 committed by Denis Kenzior
parent 88358047c8
commit 40f5916316
1 changed files with 2 additions and 0 deletions

View File

@ -782,6 +782,8 @@ static void netreg_status_watch(int status, int lac, int ci, int tech,
switch (status) {
case NETWORK_REGISTRATION_STATUS_REGISTERED:
case NETWORK_REGISTRATION_STATUS_ROAMING:
case NETWORK_REGISTRATION_STATUS_REGISTERED_SMS_EUTRAN:
case NETWORK_REGISTRATION_STATUS_ROAMING_SMS_EUTRAN:
sms->registered = TRUE;
break;
default: