libmsc: missing bit shift in status report flag when stored in sms object
So we just store 0 or 1 depending on what the mobile phone requests. Change-Id: Idb7d5594219c0e458ccb561383a59604bc1a4201
This commit is contained in:
parent
791bdf70f2
commit
db5ed3b9c6
|
@ -368,7 +368,7 @@ static int gsm340_rx_tpdu(struct gsm_trans *trans, struct msgb *msg,
|
|||
/* invert those fields where 0 means active/present */
|
||||
sms_mti = *smsp & 0x03;
|
||||
sms_vpf = (*smsp & 0x18) >> 3;
|
||||
gsms->status_rep_req = (*smsp & 0x20);
|
||||
gsms->status_rep_req = (*smsp & 0x20) >> 5;
|
||||
gsms->ud_hdr_ind = (*smsp & 0x40);
|
||||
/*
|
||||
* Not evaluating MMS (More Messages to Send) because the
|
||||
|
|
Loading…
Reference in New Issue