diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-04-16 20:07:56 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-04-19 09:39:15 +0200 |
commit | f4f69ee6fc19b9f8d4d0af615e752cb88b96eae7 (patch) | |
tree | 641dd0beeec1a4872828cd838cde1c9e3d1616ff /include | |
parent | f1052b812deb55f9645ae2b7cdf1fa7313599c28 (diff) |
lchan: Similar to OpenBSC use a set method to change the state
By making all modifications through lchan_set_state we can easily
add code to verify the state transition.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index b6eab7a9..d600cf60 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -69,4 +69,7 @@ static inline struct femtol1_hdl *trx_femtol1_hdl(struct gsm_bts_trx *trx) return trx->role_bts.l1h; } + +void lchan_set_state(struct gsm_lchan *lchan, enum gsm_lchan_state state); + #endif /* _GSM_DATA_H */ |