View | Details | Raw Unified | Return to bug 143496
Collapse All | Expand All

(-)src/nm-device-802-11-wireless.c (-1 / +1 lines)
Lines 2404-2418 supplicant_exec (NMDevice80211Wireless * Link Here
2404
	char *	argv[4];
2404
	char *	argv[4];
2405
	GError *	error = NULL;
2405
	GError *	error = NULL;
2406
	GPid		pid = -1;
2406
	GPid		pid = -1;
2407
2407
2408
	argv[0] = WPA_SUPPLICANT_BINARY;
2408
	argv[0] = WPA_SUPPLICANT_BINARY;
2409
	argv[1] = "-g";
2409
	argv[1] = "-g";
2410
	argv[2] = WPA_SUPPLICANT_GLOBAL_SOCKET;
2410
	argv[2] = WPA_SUPPLICANT_GLOBAL_SOCKET;
2411
	argv[4] = NULL;
2411
	argv[3] = NULL;
2412
2412
2413
	if (!(success = g_spawn_async ("/", argv, NULL, 0, NULL, NULL, &pid, &error)))
2413
	if (!(success = g_spawn_async ("/", argv, NULL, 0, NULL, NULL, &pid, &error)))
2414
	{
2414
	{
2415
		if (error)
2415
		if (error)
2416
		{
2416
		{
2417
			nm_warning ("Couldn't start wpa_supplicant.  Error: (%d) %s",
2417
			nm_warning ("Couldn't start wpa_supplicant.  Error: (%d) %s",
2418
					error->code, error->message);
2418
					error->code, error->message);

Return to bug 143496