diff --git a/src/drivers/driver_zephyr.c b/src/drivers/driver_zephyr.c index 7a3ffcf2f..165b0a891 100644 --- a/src/drivers/driver_zephyr.c +++ b/src/drivers/driver_zephyr.c @@ -1603,9 +1603,16 @@ static int wpa_drv_zep_send_action(void *priv, unsigned int freq, os_memcpy(hdr->addr3, bssid, ETH_ALEN); - return dev_ops->send_mlme(if_ctx->dev_priv, buf, 24 + data_len, + ret = dev_ops->send_mlme(if_ctx->dev_priv, buf, 24 + data_len, 0, freq, no_cck, 1, wait_time, 0); + if (ret) { + wpa_printf(MSG_ERROR, "wpa_supp: Failed to send Action frame: %d", ret); + } + + os_free(buf); + + return ret; } static int nl80211_get_ext_capab(void *priv, enum wpa_driver_if_type type,