Skip to content

Commit

Permalink
mac80211: Include crypto/aead.h
Browse files Browse the repository at this point in the history
All users of AEAD should include crypto/aead.h instead of
include/linux/crypto.h.

Signed-off-by: Herbert Xu <[email protected]>
Acked-by: David S. Miller <[email protected]>
  • Loading branch information
herbertx committed Apr 23, 2015
1 parent 1ce3311 commit d8fe0dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions net/mac80211/aes_ccm.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/err.h>
#include <crypto/aes.h>
#include <crypto/aead.h>

#include <net/mac80211.h>
#include "key.h"
Expand Down
3 changes: 1 addition & 2 deletions net/mac80211/aes_gcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/err.h>
#include <crypto/aes.h>
#include <crypto/aead.h>

#include <net/mac80211.h>
#include "key.h"
Expand Down
2 changes: 1 addition & 1 deletion net/mac80211/aes_gmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/err.h>
#include <crypto/aead.h>
#include <crypto/aes.h>

#include <net/mac80211.h>
Expand Down

0 comments on commit d8fe0dd

Please sign in to comment.