fixeria submitted this change.
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
l1sap: move struct osmo_rlp_frame_decoded to the if-scope
Change-Id: Ide99b35192246b0f7b2a4f31281e2d84984a9795
---
M src/common/l1sap.c
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 63be237..3157807 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1857,7 +1857,6 @@
{
struct gsm_bts_trx *trx = lchan->ts->trx;
struct gsmtap_inst *inst = trx->bts->gsmtap.inst;
- struct osmo_rlp_frame_decoded rlpf;
pbit_t *rlp_buf;
uint16_t arfcn;
int byte_len;
@@ -1913,6 +1912,7 @@
}
if (trx->bts->gsmtap.rlp_skip_null) {
+ struct osmo_rlp_frame_decoded rlpf;
int rc = osmo_rlp_decode(&rlpf, 0, rlp_buf, byte_len);
if (rc == 0 && rlpf.ftype == OSMO_RLP_FT_U && rlpf.u_ftype == OSMO_RLP_U_FT_NULL)
return;
To view, visit change 38315. To unsubscribe, or for help writing mail filters, visit settings.