diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-12-27 20:49:53 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-01-15 00:03:19 +0100 |
commit | dfcfe65f249efdd79df57e8516c226755ffc1748 (patch) | |
tree | 5f07a678922599dc12e9a2d11c89fb99046381d6 /openbsc/include | |
parent | ded0268a8dfcb7ce41df509a5dada9725a21ee5a (diff) |
lchan: Rename release_reason to release_mode
Use the name of GSM 08.58 for the release mode.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/chan_alloc.h | 2 | ||||
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/chan_alloc.h b/openbsc/include/openbsc/chan_alloc.h index 5eda312ac..1a7c85770 100644 --- a/openbsc/include/openbsc/chan_alloc.h +++ b/openbsc/include/openbsc/chan_alloc.h @@ -46,7 +46,7 @@ void lchan_free(struct gsm_lchan *lchan); void lchan_reset(struct gsm_lchan *lchan); /* Release the given lchan */ -int lchan_release(struct gsm_lchan *lchan, int sach_deact, int reason); +int lchan_release(struct gsm_lchan *lchan, int sach_deact, int release_mode); struct load_counter { unsigned int total; diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 7964b3cea..9a2451b87 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -177,7 +177,9 @@ struct gsm_lchan { /* Established data link layer services */ uint8_t sapis[8]; int sach_deact; - int release_reason; + + /** GSM 08.58 9.3.20 */ + int release_mode; struct { uint32_t bound_ip; |