mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 04:53:24 +00:00
bsc_api: Nuke the clear complete from the API.
There is no place where it can be called. Whoever is calling the gsm0808_clear method should generate the clear complete as the result.
This commit is contained in:
@@ -23,7 +23,6 @@ struct bsc_api {
|
|||||||
uint16_t rr_cause);
|
uint16_t rr_cause);
|
||||||
int (*clear_request)(struct gsm_subscriber_connection *conn,
|
int (*clear_request)(struct gsm_subscriber_connection *conn,
|
||||||
uint32_t cause);
|
uint32_t cause);
|
||||||
void (*clear_compl)(struct gsm_subscriber_connection *conn);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int bsc_api_init(struct gsm_network *network, struct bsc_api *api);
|
int bsc_api_init(struct gsm_network *network, struct bsc_api *api);
|
||||||
|
|||||||
@@ -54,10 +54,6 @@ static int bsc_clear_request(struct gsm_subscriber_connection *conn, uint32_t ca
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void bsc_clear_compl(struct gsm_subscriber_connection *conn)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct bsc_api bsc_handler = {
|
static struct bsc_api bsc_handler = {
|
||||||
.sapi_n_reject = bsc_sapi_n_reject,
|
.sapi_n_reject = bsc_sapi_n_reject,
|
||||||
.cipher_mode_compl = bsc_cipher_mode_compl,
|
.cipher_mode_compl = bsc_cipher_mode_compl,
|
||||||
@@ -66,7 +62,6 @@ static struct bsc_api bsc_handler = {
|
|||||||
.assign_compl = bsc_assign_compl,
|
.assign_compl = bsc_assign_compl,
|
||||||
.assign_fail = bsc_assign_fail,
|
.assign_fail = bsc_assign_fail,
|
||||||
.clear_request = bsc_clear_request,
|
.clear_request = bsc_clear_request,
|
||||||
.clear_compl = bsc_clear_compl,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct bsc_api *osmo_bsc_api()
|
struct bsc_api *osmo_bsc_api()
|
||||||
|
|||||||
Reference in New Issue
Block a user