TDLS: Declare tdls_testing as extern in a header file
[mech_eap.git] / wpa_supplicant / main_winsvc.c
index 4b072fc..9950aa9 100644 (file)
@@ -2,17 +2,11 @@
  * WPA Supplicant / main() function for Win32 service
  * Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
  *
- * 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
+ * HKEY_LOCAL_MACHINE\\SOFTWARE\\%wpa_supplicant. This level includes global
  * parameters and a 'interfaces' subkey with all the interface configuration
  * (adapter to confname mapping). Each such mapping is a subkey that has
  * 'adapter' and 'config' values.
@@ -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);