diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-06 12:01:38 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-23 20:18:18 +0100 |
commit | 5ca825e431e837b95f7db9057792e5a66de97a89 (patch) | |
tree | ff85786c7ef00345eb4b05fb48a5782eb5f3edc7 /openbsc/include/openbsc/chan_alloc.h | |
parent | 1411c066cc3ddaa46437cac7c580a04a1fe95eb1 (diff) |
rsl: Rename the reason to release_mode and use the enum value
The API with 0 and 1 as legal values is hard to understand. Use the
recently introduced enum values instead.
Diffstat (limited to 'openbsc/include/openbsc/chan_alloc.h')
-rw-r--r-- | openbsc/include/openbsc/chan_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/chan_alloc.h b/openbsc/include/openbsc/chan_alloc.h index f1c890e9d..f2d3c781d 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 sacch_deact, int release_mode); +int lchan_release(struct gsm_lchan *lchan, int sacch_deact, enum rsl_rel_mode release_mode); struct load_counter { unsigned int total; |