wlan-ap-Telecominfraproject/feeds/mediatek-sdk/mediatek-sdk/patches-5.4/0504-macsec-revert-async-support.patch
John Crispin 75ed221675 mediatek: add SDK target
This adds support for panther and merlin.

Signed-off-by: John Crispin <john@phrozen.org>
2022-02-04 08:06:06 +01:00

13 lines
323 B
Diff

--- a/drivers/net/macsec.c
+++ b/drivers/net/macsec.c
@@ -1309,8 +1309,7 @@
struct crypto_aead *tfm;
int ret;
- /* Pick a sync gcm(aes) cipher to ensure order is preserved. */
- tfm = crypto_alloc_aead("gcm(aes)", 0, CRYPTO_ALG_ASYNC);
+ tfm = crypto_alloc_aead("gcm(aes)", 0, 0);
if (IS_ERR(tfm))
return tfm;