mirror of git://git.sysmocom.de/ofono
smsutil: status reports also lead with SC_ADDR
This commit is contained in:
parent
56d14e1fe1
commit
69e5a65d34
|
@ -1409,7 +1409,8 @@ gboolean sms_encode(const struct sms *in, int *len, int *tpdu_len,
|
|||
int tpdu_start;
|
||||
|
||||
if (in->type == SMS_TYPE_DELIVER || in->type == SMS_TYPE_SUBMIT ||
|
||||
in->type == SMS_TYPE_COMMAND)
|
||||
in->type == SMS_TYPE_COMMAND ||
|
||||
in->type == SMS_TYPE_STATUS_REPORT)
|
||||
if (!sms_encode_address_field(&in->sc_addr, TRUE, pdu, &offset))
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue