mirror of
https://github.com/brmlab/osmo-tetra.git
synced 2025-06-07 09:24:04 +02:00
Use correct bit offset to decode the ADDR_TYPE_SSI_USAGE
This commit is contained in:
parent
7bb6e34ad0
commit
2d9bf16066
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ int macpdu_decode_resource(struct tetra_resrc_decoded *rsd, const uint8_t *bits)
|
|||
break;
|
||||
case ADDR_TYPE_SSI_USAGE:
|
||||
rsd->addr.ssi = bits_to_uint(cur, 24);
|
||||
rsd->addr.usage_marker = bits_to_uint(cur, 6);
|
||||
rsd->addr.usage_marker = bits_to_uint(cur+24, 6);
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue