IuPS: explicitly check RAN type; move comment
Change-Id: I054d72590dfb2012f6f8506d3a5f8fd2953194e1
This commit is contained in:
parent
e7542288bb
commit
3728471963
|
@ -971,10 +971,12 @@ static int gsm48_tx_gmm_service_rej(struct sgsn_mm_ctx *mm,
|
||||||
static int gsm48_tx_gmm_ra_upd_ack(struct sgsn_mm_ctx *mm);
|
static int gsm48_tx_gmm_ra_upd_ack(struct sgsn_mm_ctx *mm);
|
||||||
|
|
||||||
#ifdef BUILD_IU
|
#ifdef BUILD_IU
|
||||||
|
/* Send RAB activation requests for all PDP contexts */
|
||||||
void activate_pdp_rabs(struct sgsn_mm_ctx *ctx)
|
void activate_pdp_rabs(struct sgsn_mm_ctx *ctx)
|
||||||
{
|
{
|
||||||
/* Send RAB activation requests for all PDP contexts */
|
|
||||||
struct sgsn_pdp_ctx *pdp;
|
struct sgsn_pdp_ctx *pdp;
|
||||||
|
if (ctx->ran_type != MM_CTX_T_UTRAN_Iu)
|
||||||
|
return;
|
||||||
llist_for_each_entry(pdp, &ctx->pdp_list, list) {
|
llist_for_each_entry(pdp, &ctx->pdp_list, list) {
|
||||||
iu_rab_act_ps(pdp->nsapi, pdp, 1);
|
iu_rab_act_ps(pdp->nsapi, pdp, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue