create 'struct tetra_mac_state' in main and pass through all layers/SAPs

This commit is contained in:
Harald Welte 2011-05-27 08:44:12 +02:00
parent e676ea1300
commit 0ad20fd762
5 changed files with 41 additions and 18 deletions

View file

@ -124,3 +124,8 @@ const char *tetra_get_sap_name(uint8_t sap)
{
return get_value_string(tetra_sap_names, sap);
}
void tetra_mac_state_init(struct tetra_mac_state *tms)
{
INIT_LLIST_HEAD(&tms->voice_channels);
}