OSDN Git Service

BRCM P2P update
[android-x86/external-wpa_supplicant_8.git] / src / ap / wpa_auth.c
index 3fbb88b..0836887 100644 (file)
@@ -349,6 +349,10 @@ static struct wpa_group * wpa_group_init(struct wpa_authenticator *wpa_auth,
                wpa_printf(MSG_INFO, "WPA: Not enough entropy in random pool "
                           "for secure operations - update keys later when "
                           "the first station connects");
+#ifdef ANDROID_BRCM_P2P_PATCH
+               os_free(group);
+               return NULL;
+#endif
        }
 
        /*