mirror of git://git.sysmocom.de/ofono
stktest: Remove some unneeded output
This commit is contained in:
parent
ebe25412a4
commit
6a96eea978
|
@ -205,8 +205,6 @@ static DBusMessage *stktest_error_busy(DBusMessage *msg)
|
||||||
static DBusMessage *agent_release(DBusConnection *conn, DBusMessage *msg,
|
static DBusMessage *agent_release(DBusConnection *conn, DBusMessage *msg,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
g_print("Got Release\n");
|
|
||||||
|
|
||||||
if (pending) {
|
if (pending) {
|
||||||
dbus_message_unref(pending);
|
dbus_message_unref(pending);
|
||||||
pending = NULL;
|
pending = NULL;
|
||||||
|
@ -602,6 +600,7 @@ static void listen_again(gpointer user_data)
|
||||||
|
|
||||||
static void setup_emulator(GAtServer *server)
|
static void setup_emulator(GAtServer *server)
|
||||||
{
|
{
|
||||||
|
if (getenv("OFONO_AT_DEBUG"))
|
||||||
g_at_server_set_debug(server, server_debug, "Server");
|
g_at_server_set_debug(server, server_debug, "Server");
|
||||||
|
|
||||||
g_at_server_register(server, "+CGMI", cgmi_cb, NULL, NULL);
|
g_at_server_register(server, "+CGMI", cgmi_cb, NULL, NULL);
|
||||||
|
@ -679,8 +678,6 @@ static gboolean create_tcp(void)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_print("new tcp is created at tcp port %d\n", LISTEN_PORT);
|
|
||||||
|
|
||||||
server_io = g_io_channel_unix_new(sk);
|
server_io = g_io_channel_unix_new(sk);
|
||||||
g_io_channel_set_close_on_unref(server_io, TRUE);
|
g_io_channel_set_close_on_unref(server_io, TRUE);
|
||||||
|
|
||||||
|
@ -868,8 +865,6 @@ static void register_agent()
|
||||||
const char *path = "/default";
|
const char *path = "/default";
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
g_print("Gained STK interface, registering agent...\n");
|
|
||||||
|
|
||||||
status = send_with_reply(STKTEST_PATH, OFONO_STK_INTERFACE,
|
status = send_with_reply(STKTEST_PATH, OFONO_STK_INTERFACE,
|
||||||
"RegisterAgent", NULL,
|
"RegisterAgent", NULL,
|
||||||
register_agent_reply, NULL, NULL, 1,
|
register_agent_reply, NULL, NULL, 1,
|
||||||
|
|
Loading…
Reference in New Issue