diff options
Diffstat (limited to 'Transceiver52M')
-rw-r--r-- | Transceiver52M/proto_trxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/proto_trxd.c b/Transceiver52M/proto_trxd.c index fff23da..cd82d55 100644 --- a/Transceiver52M/proto_trxd.c +++ b/Transceiver52M/proto_trxd.c @@ -27,7 +27,7 @@ static void trxd_fill_common(struct trxd_hdr_common *common, const struct trx_ul_burst_ind *bi, uint8_t version) { - common->version = version && 0x07; + common->version = version & 0x07; common->reserved = 0; common->tn = bi->tn; osmo_store32be(bi->fn, &common->fn); |