3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-19 11:09:25 +01:00

client: Enable cmd prompt on dbus OM callback

This commit is contained in:
Tim Kourt 2017-04-20 13:42:22 -07:00 committed by Denis Kenzior
parent 1e6d7006f8
commit 107cd45e92
2 changed files with 3 additions and 0 deletions

View File

@ -462,6 +462,7 @@ static void get_managed_objects_callback(struct l_dbus_message *message,
while (l_dbus_message_iter_next_entry(&objects, &path, &object))
proxy_interface_create(path, &object);
display_enable_cmd_prompt();
}
static void service_appeared_callback(struct l_dbus *dbus, void *user_data)

View File

@ -238,6 +238,8 @@ void display_enable_cmd_prompt(void)
l_io_set_disconnect_handler(io, disconnect_callback, NULL, NULL);
rl_set_prompt(IWD_PROMPT);
display("");
}
void display_disable_cmd_prompt(void)