MAC: correctly decode length of MAC PDU

This commit is contained in:
Harald Welte 2011-04-24 08:07:27 +02:00
parent c547e9f0de
commit 863c31401b
3 changed files with 29 additions and 7 deletions

View file

@ -202,7 +202,7 @@ struct tetra_addr {
struct tetra_resrc_decoded {
uint8_t encryption_mode;
uint8_t rand_acc_flag;
uint8_t length_ind;
int macpdu_length;
struct tetra_addr addr;
uint8_t power_control_pres;