direct_phy: Fix condition dropping rx DATA.ind payload in in

Related: OS#5020
Fixes: 81c549d5be
Change-Id: Iad8e50b856009439d78c596c5b54dc3e9836e1d4
This commit is contained in:
Pau Espin 2021-03-18 12:39:27 +01:00
parent fecab50066
commit 755a8d61bb
3 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ static int handle_ph_data_ind(struct lc15l1_hdl *fl1h,
case GsmL1_Sapi_Pacch:
/* PDTCH / PACCH frame handling */
if (data_ind->msgUnitParam.u8Size != 0 &&
data_ind->msgUnitParam.u8Buffer[0] != GsmL1_PdtchPlType_Full) {
data_ind->msgUnitParam.u8Buffer[0] == GsmL1_PdtchPlType_Full) {
data = data_ind->msgUnitParam.u8Buffer + 1;
data_len = data_ind->msgUnitParam.u8Size - 1;
if (data_len == 0)

View File

@ -222,7 +222,7 @@ static int handle_ph_data_ind(struct oc2gl1_hdl *fl1h,
case GsmL1_Sapi_Pacch:
/* PDTCH / PACCH frame handling */
if (data_ind->msgUnitParam.u8Size != 0 &&
data_ind->msgUnitParam.u8Buffer[0] != GsmL1_PdtchPlType_Full) {
data_ind->msgUnitParam.u8Buffer[0] == GsmL1_PdtchPlType_Full) {
data = data_ind->msgUnitParam.u8Buffer + 1;
data_len = data_ind->msgUnitParam.u8Size - 1;
if (data_len == 0)

View File

@ -201,7 +201,7 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1h,
case GsmL1_Sapi_Pacch:
/* PDTCH / PACCH frame handling */
if (data_ind->msgUnitParam.u8Size != 0 &&
data_ind->msgUnitParam.u8Buffer[0] != GsmL1_PdtchPlType_Full) {
data_ind->msgUnitParam.u8Buffer[0] == GsmL1_PdtchPlType_Full) {
data = data_ind->msgUnitParam.u8Buffer + 1;
data_len = data_ind->msgUnitParam.u8Size - 1;
if (data_len == 0)