mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 22:42:37 +01:00
client: Enable cmd prompt on dbus OM callback
This commit is contained in:
parent
1e6d7006f8
commit
107cd45e92
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user