mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
This updates mac80211 to version 6.1.145-1. This code is based on Linux 6.1.145 and contains all fixes included in the upstream wireless subsystem from that kernel version. This includes many bugfixes and also some security fixes. The removed patches were applied upstream. Link: https://github.com/openwrt/openwrt/pull/16948 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From a87a9110ac0dcbfd9458b6665c141fa1c16a669d Mon Sep 17 00:00:00 2001
|
|
From: Kalle Valo <quic_kvalo@quicinc.com>
|
|
Date: Wed, 5 Apr 2023 12:04:25 +0300
|
|
Subject: [PATCH] wifi: ath11k: print a warning when crypto_alloc_shash() fails
|
|
|
|
Christoph reported that ath11k failed to initialise when michael_mic.ko
|
|
module was not installed. To make it easier to notice that case print a
|
|
warning when crypto_alloc_shash() fails.
|
|
|
|
Compile tested only.
|
|
|
|
Reported-by: Christoph Hellwig <hch@lst.de>
|
|
Link: https://lore.kernel.org/all/20221130133016.GC3055@lst.de/
|
|
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
|
|
Link: https://lore.kernel.org/r/20230405090425.1351-1-kvalo@kernel.org
|
|
---
|
|
drivers/net/wireless/ath/ath11k/dp_rx.c | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
|
|
@@ -3121,8 +3121,11 @@ int ath11k_peer_rx_frag_setup(struct ath
|
|
int i;
|
|
|
|
tfm = crypto_alloc_shash("michael_mic", 0, 0);
|
|
- if (IS_ERR(tfm))
|
|
+ if (IS_ERR(tfm)) {
|
|
+ ath11k_warn(ab, "failed to allocate michael_mic shash: %ld\n",
|
|
+ PTR_ERR(tfm));
|
|
return PTR_ERR(tfm);
|
|
+ }
|
|
|
|
spin_lock_bh(&ab->base_lock);
|
|
|