mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 09:50:09 +01:00
2006-08-13 Dan Williams <dcbw@redhat.com>
Patch from Valentine Sinitsyn <e_val@inbox.ru> * src/nm-device-802-11-wireless.c - (supplicant_exec): spawn wpa_supplicant without debug spew Gnome #346875 git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1956 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
b86656efb7
commit
dad2e1224d
2 changed files with 12 additions and 6 deletions
|
|
@ -1,4 +1,11 @@
|
|||
2006-08-10 Dan Williams <dcbw@redhat.com>
|
||||
2006-08-13 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Valentine Sinitsyn <e_val@inbox.ru>
|
||||
* src/nm-device-802-11-wireless.c
|
||||
- (supplicant_exec): spawn wpa_supplicant without debug spew
|
||||
Gnome #346875
|
||||
|
||||
2006-08-13 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Valentine Sinitsyn <e_val@inbox.ru>
|
||||
* src/nm-ap-security.c
|
||||
|
|
|
|||
|
|
@ -2764,16 +2764,15 @@ static gboolean
|
|||
supplicant_exec (NMDevice80211Wireless *self)
|
||||
{
|
||||
gboolean success = FALSE;
|
||||
char * argv[5];
|
||||
char * argv[4];
|
||||
GError * error = NULL;
|
||||
GPid pid = -1;
|
||||
int sup_stdout;
|
||||
|
||||
argv[0] = WPA_SUPPLICANT_BIN;
|
||||
argv[1] = "-dd";
|
||||
argv[2] = "-g";
|
||||
argv[3] = WPA_SUPPLICANT_GLOBAL_SOCKET;
|
||||
argv[4] = NULL;
|
||||
argv[1] = "-g";
|
||||
argv[2] = WPA_SUPPLICANT_GLOBAL_SOCKET;
|
||||
argv[3] = NULL;
|
||||
|
||||
success = g_spawn_async_with_pipes ("/", argv, NULL, 0, NULL, NULL,
|
||||
&pid, NULL, &sup_stdout, NULL, &error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue