From 66f270e4bbf8ffcd645721042ffef36c9df54297 Mon Sep 17 00:00:00 2001 From: Tamizh Chelvam Date: Tue, 9 Mar 2021 10:20:47 +0530 Subject: [PATCH] hostap: Add changes to fix compilation errors Signed-off-by: Tamizh Chelvam --- src/ap/beacon.c | 2 +- src/drivers/driver_nl80211.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ap/beacon.c b/src/ap/beacon.c index 7296f23f0d85..c56aff1b915d 100644 --- a/src/ap/beacon.c +++ b/src/ap/beacon.c @@ -1459,7 +1459,7 @@ static u8 * hostapd_gen_fils_discovery(struct hostapd_data *hapd, size_t *len) *len = pos - (u8 *) head; wpa_hexdump(MSG_DEBUG, "FILS Discovery frame template", - head, pos - (u8 *) head); + (u8 *) head, pos - (u8 *) head); return (u8 *) head; } diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index ab6c4281f366..bd56c6471630 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -5135,7 +5135,7 @@ static int wpa_driver_nl80211_sta_add(void *priv, if (params->he_6ghz_capab) { wpa_hexdump(MSG_DEBUG, " * he_6ghz_capab", - params->he_6ghz_capab, + (u8 *) params->he_6ghz_capab, sizeof(*params->he_6ghz_capab)); if (nla_put(msg, NL80211_ATTR_HE_6GHZ_CAPABILITY, sizeof(*params->he_6ghz_capab), -- 2.31.1