From ff43e1a1b306ea63f7b375bf0ab2773df7d144ba Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 29 Nov 2017 16:29:08 +0800 Subject: mobile: Re-introduce msg_ref in struct gsm_sms In I4bac5f06921b5fd85a98d97770d42d4858ca1c42 I have removed the msg_ref field. But in case we delete a transaction with a pending SMS we need to get the msg_ref from somewhere. This is a partial revert but for RX SMS it makes sure that msg_ref will be set (it wasn't set before). Change-Id: I9b0f90f875de5f072565878861d38b0bb3bfbded --- src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/host/layer23/include/osmocom/bb/mobile') diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h b/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h index 0d0578a3..a94d1aa7 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h +++ b/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h @@ -11,6 +11,7 @@ struct gsm_sms { uint8_t ud_hdr_ind; uint8_t protocol_id; uint8_t data_coding_scheme; + uint8_t msg_ref; char address[20+1]; /* DA LV is 12 bytes max, i.e. 10 bytes * BCD == 20 bytes string */ time_t time; -- cgit v1.2.3