mac80211: avoid crashing on invalid band info wax220-eth-fixes
authorDavid Bauer <mail@david-bauer.net>
Thu, 30 Nov 2023 06:32:52 +0000 (07:32 +0100)
committerDavid Bauer <mail@david-bauer.net>
Thu, 30 Nov 2023 06:35:49 +0000 (07:35 +0100)
commitfb775a9a942c5596ed472a2055518c79442c5635
tree7f1cad9172c26657f5c65ae611a0bc1f1bf0cb1a
parent2b690c99b76e093678610bec380d70c6b36cc2af
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>
package/kernel/mac80211/patches/subsys/780-avoid-crashing-missing-band.patch [new file with mode: 0644]