mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gsm0408_loc_upd_rej(): remove bts use (used only for debug log)
Change-Id: I3ac38f4b701ad8308470573260fa91a4b04c2f18
This commit is contained in:
@@ -241,7 +241,6 @@ void gsm0408_clear_all_trans(struct gsm_network *net, int protocol)
|
||||
/* Chapter 9.2.14 : Send LOCATION UPDATING REJECT */
|
||||
int gsm0408_loc_upd_rej(struct gsm_subscriber_connection *conn, uint8_t cause)
|
||||
{
|
||||
struct gsm_bts *bts = conn->bts;
|
||||
struct msgb *msg;
|
||||
|
||||
rate_ctr_inc(&conn->network->msc_ctrs->ctr[MSC_CTR_LOC_UPDATE_RESP_REJECT]);
|
||||
@@ -252,9 +251,8 @@ int gsm0408_loc_upd_rej(struct gsm_subscriber_connection *conn, uint8_t cause)
|
||||
return -1;
|
||||
}
|
||||
|
||||
LOGP(DMM, LOGL_INFO, "Subscriber %s: LOCATION UPDATING REJECT "
|
||||
"LAC=%u BTS=%u\n", vlr_subscr_name(conn->vsub),
|
||||
bts->location_area_code, bts->nr);
|
||||
LOGP(DMM, LOGL_INFO, "Subscriber %s: LOCATION UPDATING REJECT\n",
|
||||
vlr_subscr_name(conn->vsub));
|
||||
|
||||
return gsm48_conn_sendmsg(msg, conn, NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user