hostapd: properly mark random data as ready if initialization succeeds without reasso...
[openwrt/openwrt.git] / package / hostapd / patches / 600-terminate_on_setup_failure.patch
index 9a7e889ebf588ead4a3013e2ec7164ad8dd1ecc6..63d3ec50155dad0471708b540439dcb5e1521170 100644 (file)
@@ -66,8 +66,8 @@
 +              goto error;
        }
  
-       wpa_printf(MSG_DEBUG, "%s: Setup of interface done.",
-@@ -795,6 +792,11 @@ int hostapd_setup_interface_complete(str
+       if (hapd->setup_complete_cb)
+@@ -798,6 +795,11 @@ int hostapd_setup_interface_complete(str
                iface->init_complete(iface);
  
        return 0;