]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower
authorFelix Fietkau <nbd@nbd.name>
Wed, 2 Oct 2024 09:56:30 +0000 (11:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 8 Oct 2024 19:24:19 +0000 (21:24 +0200)
commit393b6bc174b0dd21bb2a36c13b36e62fc3474a23
treedb1a48263d7eddd8c3f49c81dbf2d8c7a76659b4
parent4cc6f3e5e5765abad9c091989970d67d8c1d2204
wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower

Avoid potentially crashing in the driver because of uninitialized private data

Fixes: 5b3dc42b1b0d ("mac80211: add support for driver tx power reporting")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20241002095630.22431-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c