aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/aes_gmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/aes_gmac.c')
-rw-r--r--net/mac80211/aes_gmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/aes_gmac.c b/net/mac80211/aes_gmac.c
index 1c72edcb0083..f1321b7d6506 100644
--- a/net/mac80211/aes_gmac.c
+++ b/net/mac80211/aes_gmac.c
@@ -70,9 +70,9 @@ struct crypto_aead *ieee80211_aes_gmac_key_setup(const u8 key[],
70 70
71 err = crypto_aead_setkey(tfm, key, key_len); 71 err = crypto_aead_setkey(tfm, key, key_len);
72 if (!err) 72 if (!err)
73 return tfm;
74 if (!err)
75 err = crypto_aead_setauthsize(tfm, GMAC_MIC_LEN); 73 err = crypto_aead_setauthsize(tfm, GMAC_MIC_LEN);
74 if (!err)
75 return tfm;
76 76
77 crypto_free_aead(tfm); 77 crypto_free_aead(tfm);
78 return ERR_PTR(err); 78 return ERR_PTR(err);