rll_establish: When on a TCH always use the SACH for SAPI!=0
When we are on a TCH/H or TCH/F always use the SACH for SAPI!=0 for the establishment otherwise it will never be answered. This can be tested by starting to page with a traffic channel and then trying to submit the SMS.
This commit is contained in:
parent
edee7944a5
commit
9cc020ab21
|
@ -80,8 +80,7 @@ int rll_establish(struct gsm_lchan *lchan, u_int8_t sapi,
|
|||
/* If we are a TCH and not in signalling mode, we need to
|
||||
* indicate that the new RLL connection is to be made on the SACCH */
|
||||
if ((lchan->type == GSM_LCHAN_TCH_F ||
|
||||
lchan->type == GSM_LCHAN_TCH_H) &&
|
||||
lchan->rsl_cmode != RSL_CMOD_SPD_SIGN)
|
||||
lchan->type == GSM_LCHAN_TCH_H) && sapi != 0)
|
||||
link_id |= 0x40;
|
||||
|
||||
use_lchan(lchan);
|
||||
|
|
Loading…
Reference in New Issue