pcu_l1_if.cpp: Fix GSMTAP Imm Assign PCH wrong encoding

Wireshark expects to receive the plen in order to decode it.

Fixes: 58543709e4
Change-Id: I91d1354689300b949760cdbaee03294eab958e12
This commit is contained in:
Pau Espin 2019-10-07 18:25:07 +02:00
parent 58543709e4
commit 2ccb6aef89
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ void pcu_l1if_tx_pch(bitvec * block, int plen, const char *imsi)
data[3] = (plen << 2) | 0x01;
if (bts->gsmtap_categ_mask & (1 << PCU_GSMTAP_C_DL_PCH))
gsmtap_send(bts->gsmtap, 0, 0, GSMTAP_CHANNEL_PCH, 0, 0, 0, 0, data + 4, 23);
gsmtap_send(bts->gsmtap, 0, 0, GSMTAP_CHANNEL_PCH, 0, 0, 0, 0, data + 3, 23);
pcu_tx_data_req(0, 0, PCU_IF_SAPI_PCH, 0, 0, 0, data, 23+3);
}