diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index f26ce406508..c1a8747dab1 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit f26ce4065080b3cad7529725756f185444ee31ec +Subproject commit c1a8747dab1ef3a138195b0a7e5de8dd9dfe539e diff --git a/components/wpa_supplicant/src/ap/wpa_auth.c b/components/wpa_supplicant/src/ap/wpa_auth.c index ce76023a56f..9b2680c8c15 100644 --- a/components/wpa_supplicant/src/ap/wpa_auth.c +++ b/components/wpa_supplicant/src/ap/wpa_auth.c @@ -166,7 +166,7 @@ static inline int wpa_auth_set_key(struct wpa_authenticator *wpa_auth, if (alg == WIFI_WPA_ALG_IGTK) { if (key) { wpa_printf (MSG_DEBUG, "%s : igtk idx %d", __func__, idx); - wifi_wpa_igtk_t *igtk = malloc(sizeof(wifi_wpa_igtk_t)); + wifi_wpa_igtk_t *igtk = os_malloc(sizeof(wifi_wpa_igtk_t)); if (igtk != NULL) { memcpy(&igtk->igtk[0], key, WPA_IGTK_LEN);