Initiate a call once we have a channel assigned
This commit is contained in:
parent
4a1e87928c
commit
abade7af88
|
@ -343,6 +343,7 @@ struct gsm_bts;
|
||||||
int gsm0408_rcvmsg(struct msgb *msg);
|
int gsm0408_rcvmsg(struct msgb *msg);
|
||||||
void gsm0408_generate_lai(struct gsm48_loc_area_id *lai48, u_int16_t mcc,
|
void gsm0408_generate_lai(struct gsm48_loc_area_id *lai48, u_int16_t mcc,
|
||||||
u_int16_t mnc, u_int16_t lac);
|
u_int16_t mnc, u_int16_t lac);
|
||||||
|
int gsm48_cc_tx_setup(struct gsm_lchan *lchan);
|
||||||
enum gsm_chan_t get_ctype_by_chreq(struct gsm_bts *bts, u_int8_t ra);
|
enum gsm_chan_t get_ctype_by_chreq(struct gsm_bts *bts, u_int8_t ra);
|
||||||
enum gsm_chreq_reason_t get_reason_by_chreq(struct gsm_bts *bts, u_int8_t ra);
|
enum gsm_chreq_reason_t get_reason_by_chreq(struct gsm_bts *bts, u_int8_t ra);
|
||||||
|
|
||||||
|
|
|
@ -860,6 +860,11 @@ static void bsc_hack_channel_response(struct gsm_lchan *lchan, int ack)
|
||||||
|
|
||||||
llist_del(&station->entry);
|
llist_del(&station->entry);
|
||||||
free(station);
|
free(station);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* start a call
|
||||||
|
*/
|
||||||
|
gsm48_cc_tx_setup(lchan);
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* give up and go to the next channel
|
* give up and go to the next channel
|
||||||
|
|
Loading…
Reference in New Issue