summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sms.c b/src/sms.c
index 7da66c61..163eab06 100644
--- a/src/sms.c
+++ b/src/sms.c
@@ -1584,7 +1584,7 @@ void ofono_sms_status_notify(struct ofono_sms *sms, unsigned char *pdu,
return;
}
- if (!sms_dcs_decode(s.deliver.dcs, &cls, NULL, NULL, NULL)) {
+ if (!sms_dcs_decode(s.status_report.dcs, &cls, NULL, NULL, NULL)) {
ofono_error("Unknown / Reserved DCS. Ignoring");
return;
}