mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-17 02:00:38 +01:00
Make wpa_supplicant logging GSource low priority
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1520 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
c624a36ee8
commit
2489b982ba
1 changed files with 1 additions and 0 deletions
|
|
@ -2371,6 +2371,7 @@ supplicant_exec (NMDevice80211Wireless *self)
|
|||
g_get_charset (&charset);
|
||||
g_io_channel_set_encoding (channel, charset, NULL);
|
||||
self->priv->supplicant.stdout = g_io_create_watch (channel, G_IO_IN | G_IO_ERR);
|
||||
g_source_set_priority (self->priv->supplicant.stdout, G_PRIORITY_LOW);
|
||||
g_source_set_callback (self->priv->supplicant.stdout, (GSourceFunc) supplicant_log_stdout, self, NULL);
|
||||
g_source_attach (self->priv->supplicant.stdout, nm_device_get_main_context (NM_DEVICE (self)));
|
||||
g_io_channel_unref (channel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue