From b5c00f5587d7e01393e9ca7024a80cea2b2f6e7f Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Wed, 22 Apr 2009 22:08:07 +0000 Subject: [misdn] Add option to automatically release layer2 on exit Patch by Andreas Eversberg to automatically release layer2 on exit of the application. Made the naming of the variables consistent (only release_l2 and not both release_l2 and l2_release). --- include/openbsc/e1_input.h | 2 +- include/openbsc/misdn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/openbsc') diff --git a/include/openbsc/e1_input.h b/include/openbsc/e1_input.h index b717c6106..db565bfb4 100644 --- a/include/openbsc/e1_input.h +++ b/include/openbsc/e1_input.h @@ -145,7 +145,7 @@ void e1_set_pcap_fd(int fd); struct subch_mux *e1inp_get_mux(u_int8_t e1_nr, u_int8_t ts_nr); /* e1_config.c */ -int e1_config(struct gsm_bts *bts, int cardnr); +int e1_config(struct gsm_bts *bts, int cardnr, int release_l2); int ia_config(struct gsm_bts *bts); int ipaccess_setup(struct e1inp_line *line); diff --git a/include/openbsc/misdn.h b/include/openbsc/misdn.h index b6bd391ad..d3631e794 100644 --- a/include/openbsc/misdn.h +++ b/include/openbsc/misdn.h @@ -22,7 +22,7 @@ #include "e1_input.h" -int mi_setup(int cardnr, struct e1inp_line *line); +int mi_setup(int cardnr, struct e1inp_line *line, int release_l2); int _abis_nm_sendmsg(struct msgb *msg); #endif -- cgit v1.2.3