From: Herbert Xu Date: Wed, 23 Aug 2023 10:32:25 +0000 (+0800) Subject: wifi: mac80211: Do not include crypto/algapi.h X-Git-Tag: v6.6.7~2079^2~23^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8da1985ff75226fd758ef379f9dd98986c811704;p=platform%2Fkernel%2Flinux-starfive.git wifi: mac80211: Do not include crypto/algapi.h The header file crypto/algapi.h is for internal use only. Use the header file crypto/utils.h instead. Signed-off-by: Herbert Xu Link: https://lore.kernel.org/r/E1qYlA0-006vFr-Ts@formenos.hmeau.com Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/fils_aead.c b/net/mac80211/fils_aead.c index e1d4cfd..912c46f 100644 --- a/net/mac80211/fils_aead.c +++ b/net/mac80211/fils_aead.c @@ -5,9 +5,9 @@ */ #include -#include #include #include +#include #include "ieee80211_i.h" #include "aes_cmac.h" diff --git a/net/mac80211/key.c b/net/mac80211/key.c index 21cf5a2..13050dc 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c @@ -9,6 +9,7 @@ * Copyright 2018-2020, 2022-2023 Intel Corporation */ +#include #include #include #include @@ -17,7 +18,6 @@ #include #include #include -#include #include #include "ieee80211_i.h" #include "driver-ops.h" diff --git a/net/mac80211/wpa.c b/net/mac80211/wpa.c index 4133496..2d8e38b 100644 --- a/net/mac80211/wpa.c +++ b/net/mac80211/wpa.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include "ieee80211_i.h" #include "michael.h"