mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
debug log fixes
gprs_gmm.c: remove extraneous debug print arg. iu_cs.c: increment should not be in debug statement. Fixes at least one coverity warning.
This commit is contained in:
@@ -117,7 +117,7 @@ int sgsn_ranap_iu_event(struct ue_conn_ctx *ctx, int type, void *data)
|
||||
case IU_EVENT_IU_RELEASE:
|
||||
mm->iu.integrity_active = 0;
|
||||
/* Clean up ue_conn_ctx here */
|
||||
LOGMMCTXP(LOGL_INFO, mm, "IU release\n", type);
|
||||
LOGMMCTXP(LOGL_INFO, mm, "IU release\n");
|
||||
break;
|
||||
case IU_EVENT_SECURITY_MODE_COMPLETE:
|
||||
/* Continue authentication here */
|
||||
|
||||
@@ -44,7 +44,7 @@ static inline void log_subscribers(struct gsm_network *network)
|
||||
struct gsm_subscriber_connection *conn;
|
||||
int i = 0;
|
||||
llist_for_each_entry(conn, &network->subscr_conns, entry) {
|
||||
DEBUGP(DIUCS, "%3d: %s", i++, subscr_name(conn->subscr));
|
||||
DEBUGP(DIUCS, "%3d: %s", i, subscr_name(conn->subscr));
|
||||
switch (conn->via_iface) {
|
||||
case IFACE_IU:
|
||||
DEBUGPC(DIUCS, " Iu");
|
||||
@@ -66,6 +66,7 @@ static inline void log_subscribers(struct gsm_network *network)
|
||||
break;
|
||||
}
|
||||
DEBUGPC(DIUCS, "\n");
|
||||
i++;
|
||||
}
|
||||
DEBUGP(DIUCS, "subscribers registered: %d\n", i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user