aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-08-23 12:30:30 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-08-23 15:08:20 -0700
commit44da0253a740e0329b18f60c196e1f2dcacfccea (patch)
treeaa74342906dc993edfc839ad9bfbae28abb508b9 /src/ap
parente25ba1592df19d46a7a1e1a1fca1fb02ebd7be8f (diff)
downloadandroid_external_wpa_supplicant_8-44da0253a740e0329b18f60c196e1f2dcacfccea.tar.gz
android_external_wpa_supplicant_8-44da0253a740e0329b18f60c196e1f2dcacfccea.tar.bz2
android_external_wpa_supplicant_8-44da0253a740e0329b18f60c196e1f2dcacfccea.zip
BRCM P2P update
- IFNAME for monitor interface is changed to m. from mon. This will give extra space for incrementing X in IFNAME (p2p-wlan0-X). Also, we have synced the reset of IFNAME w.r.t. monitor interface name. - Fixed continuous P2P_DEV_FOUND events coming from GO. Removed the BRCM specific change for this. - Fixed STATUS command for p2p interface. Change-Id: I04210dd0b2bdba06b0192c0a61edfa0e5b47ab72 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/ap')
-rw-r--r--src/ap/wpa_auth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c
index 3fbb88b9..08368875 100644
--- a/src/ap/wpa_auth.c
+++ b/src/ap/wpa_auth.c
@@ -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
}
/*