X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=wpa_supplicant%2Fmain_winsvc.c;h=9950aa99ae7a866349d8ace5d035fbba11890bf0;hb=b84ce655d31a2236734c788fd3292c10d5d9f0b1;hp=4a46ed5f104915ca70cc24e1cfe9fe1c8ead6588;hpb=b39d1280a7c9338171916fb7be1cdeddb8af1062;p=mech_eap.git diff --git a/wpa_supplicant/main_winsvc.c b/wpa_supplicant/main_winsvc.c index 4a46ed5..9950aa9 100644 --- a/wpa_supplicant/main_winsvc.c +++ b/wpa_supplicant/main_winsvc.c @@ -2,14 +2,8 @@ * WPA Supplicant / main() function for Win32 service * Copyright (c) 2003-2006, Jouni Malinen * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. + * This software may be distributed under the terms of the BSD license. + * See README for more details. * * The root of wpa_supplicant configuration in registry is * HKEY_LOCAL_MACHINE\\SOFTWARE\\%wpa_supplicant. This level includes global @@ -125,7 +119,7 @@ static int read_interface(struct wpa_global *global, HKEY _hk, RegCloseKey(hk); - if (wpa_supplicant_add_iface(global, &iface) == NULL) { + if (wpa_supplicant_add_iface(global, &iface, NULL) == NULL) { if (skip_on_error) wpa_printf(MSG_DEBUG, "Skipped interface '%s' due to " "initialization failure", iface.ifname);