MNCC: move cc_tx_to_mncc() from gsm_data.h into mncc.c
This commit is contained in:
parent
31bbbf4e52
commit
fea236e27c
|
@ -848,10 +848,4 @@ int gsm_bts_model_register(struct gsm_bts_model *model);
|
|||
struct gsm_subscriber_connection *subscr_con_allocate(struct gsm_lchan *lchan);
|
||||
void subscr_con_free(struct gsm_subscriber_connection *conn);
|
||||
|
||||
/* FIXME: this should go some other header file, but there is no good one */
|
||||
static inline void cc_tx_to_mncc(struct gsm_network *net, struct msgb *msg)
|
||||
{
|
||||
msgb_enqueue(&net->upqueue, msg);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -157,5 +157,6 @@ struct gsm_data_frame {
|
|||
char *get_mncc_name(int value);
|
||||
int int_mncc_recv(struct gsm_network *net, int msg_type, void *arg);
|
||||
void mncc_set_cause(struct gsm_mncc *data, int loc, int val);
|
||||
void cc_tx_to_mncc(struct gsm_network *net, struct msgb *msg);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -107,3 +107,8 @@ void mncc_set_cause(struct gsm_mncc *data, int loc, int val)
|
|||
data->cause.location = loc;
|
||||
data->cause.value = val;
|
||||
}
|
||||
|
||||
void cc_tx_to_mncc(struct gsm_network *net, struct msgb *msg)
|
||||
{
|
||||
msgb_enqueue(&net->upqueue, msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue