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

Related: OS#5020
Fixes: 81c549d5be
Change-Id: Iad8e50b856009439d78c596c5b54dc3e9836e1d4
changes/00/23400/2
Pau Espin 2 years ago
parent fecab50066
commit 755a8d61bb
  1. 2
      src/osmo-bts-litecell15/lc15_l1_if.c
  2. 2
      src/osmo-bts-oc2g/oc2g_l1_if.c
  3. 2
      src/osmo-bts-sysmo/sysmo_l1_if.c

@ -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)

@ -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)

@ -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)

Loading…
Cancel
Save