oml: Mention the SAPI that is activated in the log message

I was wondering why the channel was activated twice but it needs
to be activated for each SAPI.
This commit is contained in:
Holger Hans Peter Freyther 2012-01-13 00:46:43 +01:00
parent 4cd68dc4d7
commit 62579c7a34
1 changed files with 2 additions and 2 deletions

View File

@ -610,8 +610,8 @@ int lchan_activate(struct gsm_lchan *lchan)
break;
}
LOGP(DL1C, LOGL_INFO, "%s MPH-ACTIVATE.req (hL2=0x%08x)\n",
gsm_lchan_name(lchan), act_req->hLayer2);
LOGP(DL1C, LOGL_INFO, "%s MPH-ACTIVATE.req (hL2=0x%08x, SAPI=%d)\n",
gsm_lchan_name(lchan), act_req->hLayer2, i);
/* send the primitive for all GsmL1_Sapi_* that match the LCHAN */
l1if_req_compl(fl1h, msg, 0, lchan_act_compl_cb, lchan);