diff options
author | David S. Miller <davem@davemloft.net> | 2015-03-31 16:39:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-31 16:39:04 -0400 |
commit | 7b6249bba940f57c20cdde793b306ca3831778c7 (patch) | |
tree | 24caf2ec9ea6fca08fe225228614807d0919b4b2 /net/mac80211/aes_gmac.c | |
parent | fbcb21705930f2930f506149d0b8d36dfbe45107 (diff) | |
parent | 2c44be81f0fc147eed9dc63e2601318b2c007aeb (diff) |
Merge tag 'mac80211-next-for-davem-2015-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Johannes Berg says:
====================
Lots of updates for net-next; along with the usual flurry
of small fixes, cleanups and internal features we have:
* VHT support for TDLS and IBSS (conditional on drivers though)
* first TX performance improvements (the biggest will come later)
* many suspend/resume (race) fixes
* name_assign_type support from Tom Gundersen
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/aes_gmac.c')
-rw-r--r-- | net/mac80211/aes_gmac.c | 4 |
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); |