diff options
author | Holger Freyther <zecke@selfish.org> | 2009-04-22 22:08:07 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2009-04-22 22:08:07 +0000 |
commit | b5c00f5587d7e01393e9ca7024a80cea2b2f6e7f (patch) | |
tree | e1159d19e37fd2ef7c76617f4e5bc9f49790494e /include | |
parent | dda22c18b5daaab7fa26f1eeff7dcc849a99c0cc (diff) |
[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).
Diffstat (limited to 'include')
-rw-r--r-- | include/openbsc/e1_input.h | 2 | ||||
-rw-r--r-- | include/openbsc/misdn.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |