mirror of git://git.sysmocom.de/ofono
ppp_cp: Replace some left over g_prints with DBG
This commit is contained in:
parent
e880aab120
commit
75730bbaac
|
@ -310,9 +310,9 @@ static gboolean is_first_request(struct pppcp_timer_data *timer_data)
|
||||||
|
|
||||||
/* actions */
|
/* actions */
|
||||||
/* log an illegal event, but otherwise do nothing */
|
/* log an illegal event, but otherwise do nothing */
|
||||||
static void pppcp_illegal_event(guint8 state, guint8 type)
|
static void pppcp_illegal_event(GAtPPP *ppp, guint8 state, guint8 type)
|
||||||
{
|
{
|
||||||
g_printerr("Illegal event %d while in state %d\n", type, state);
|
DBG(ppp, "Illegal event %d while in state %d", type, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pppcp_this_layer_up(struct pppcp_data *data)
|
static void pppcp_this_layer_up(struct pppcp_data *data)
|
||||||
|
@ -690,7 +690,7 @@ static void pppcp_generate_event(struct pppcp_data *data,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
pppcp_illegal_event(data->state, event_type);
|
pppcp_illegal_event(data->ppp, data->state, event_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pppcp_signal_open(struct pppcp_data *data)
|
void pppcp_signal_open(struct pppcp_data *data)
|
||||||
|
|
Loading…
Reference in New Issue