diff --git a/modules b/modules index d01c0042bc76357ba1a07f30a8aebbc5448ccf5f..b53d3892da3d93523c67fef017d22b08aa048efe 100644 --- a/modules +++ b/modules @@ -2,7 +2,7 @@ GLUON_FEEDS='gluon packages routing' OPENWRT_REPO=https://github.com/openwrt/openwrt.git OPENWRT_BRANCH=openwrt-23.05 -OPENWRT_COMMIT=51881b2eb910d4adc6109b8d5abf0b23635a92ff +OPENWRT_COMMIT=3bf602d740765db52d96733d172093a4b9a69915 PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git PACKAGES_GLUON_COMMIT=53ea3b89771fc7d7a80f1800ce25e98dfe1633aa diff --git a/patches/openwrt/0007-mac80211-avoid-crashing-on-invalid-band-info.patch b/patches/openwrt/0007-mac80211-avoid-crashing-on-invalid-band-info.patch deleted file mode 100644 index 3ebb462e0a086524ecb47b302fceabfeda0c4954..0000000000000000000000000000000000000000 --- a/patches/openwrt/0007-mac80211-avoid-crashing-on-invalid-band-info.patch +++ /dev/null @@ -1,39 +0,0 @@ -From: David Bauer <mail@david-bauer.net> -Date: Thu, 30 Nov 2023 07:32:52 +0100 -Subject: mac80211: avoid crashing on invalid band info - -Frequent crashes have been observed on MT7916 based platforms. While the -root of these crashes are currently unknown, they happen when decoding -rate information of connected STAs in AP mode. The rate-information is -associated with a band which is not available on the PHY. - -Check for this condition in order to avoid crashing the whole system. -This patch should be removed once the roout cause has been found and -fixed. - -Link: https://github.com/freifunk-gluon/gluon/issues/2980 - -Signed-off-by: David Bauer <mail@david-bauer.net> - -diff --git a/package/kernel/mac80211/patches/subsys/780-avoid-crashing-missing-band.patch b/package/kernel/mac80211/patches/subsys/780-avoid-crashing-missing-band.patch -new file mode 100644 -index 0000000000000000000000000000000000000000..1847b2fe8defd67ec17a1b760ce03c0db1065f8c ---- /dev/null -+++ b/package/kernel/mac80211/patches/subsys/780-avoid-crashing-missing-band.patch -@@ -0,0 +1,16 @@ -+--- a/net/mac80211/sta_info.c -++++ b/net/mac80211/sta_info.c -+@@ -2422,6 +2422,13 @@ static void sta_stats_decode_rate(struct -+ -+ sband = local->hw.wiphy->bands[band]; -+ -++ if (!sband) { -++ wiphy_debug(local->hw.wiphy, -++ "Invalid band %d\n", -++ band); -++ break; -++ } -++ -+ if (WARN_ON_ONCE(!sband->bitrates)) -+ break; -+