wifi: mac80211: Do not include crypto/algapi.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Aug 2023 10:32:25 +0000 (18:32 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 24 Aug 2023 06:42:36 +0000 (08:42 +0200)
The header file crypto/algapi.h is for internal use only.  Use the
header file crypto/utils.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Link: https://lore.kernel.org/r/E1qYlA0-006vFr-Ts@formenos.hmeau.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/fils_aead.c
net/mac80211/key.c
net/mac80211/wpa.c

index e1d4cfd9912854850a3f2496276937422531b154..912c46f74d2444085d35ba1de8b2b2b7c5a46e3e 100644 (file)
@@ -5,9 +5,9 @@
  */
 
 #include <crypto/aes.h>
-#include <crypto/algapi.h>
 #include <crypto/hash.h>
 #include <crypto/skcipher.h>
+#include <crypto/utils.h>
 
 #include "ieee80211_i.h"
 #include "aes_cmac.h"
index 21cf5a2089101db4db6b1061f08a6976c0b882d7..13050dc9321f197d6aaa1c55235302bfa2ecf6f1 100644 (file)
@@ -9,6 +9,7 @@
  * Copyright 2018-2020, 2022-2023  Intel Corporation
  */
 
+#include <crypto/utils.h>
 #include <linux/if_ether.h>
 #include <linux/etherdevice.h>
 #include <linux/list.h>
@@ -17,7 +18,6 @@
 #include <linux/slab.h>
 #include <linux/export.h>
 #include <net/mac80211.h>
-#include <crypto/algapi.h>
 #include <asm/unaligned.h>
 #include "ieee80211_i.h"
 #include "driver-ops.h"
index 4133496da37892584136b7903a78c56ddf21fb4e..2d8e38b3bcb509bbbb2ce10a747cb18ebf5acca8 100644 (file)
@@ -15,7 +15,7 @@
 #include <asm/unaligned.h>
 #include <net/mac80211.h>
 #include <crypto/aes.h>
-#include <crypto/algapi.h>
+#include <crypto/utils.h>
 
 #include "ieee80211_i.h"
 #include "michael.h"