]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix ieee80211_txq_setup_flows() failure path
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Nov 2019 14:41:11 +0000 (15:41 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Nov 2019 08:11:33 +0000 (09:11 +0100)
commit258801a49384536392e36405c3785b858bee7a4a
tree399da563510ae678ff607f4652b190747873faa9
parentd6cfeac33f77ba297986c51bfb2c7a7db6bc7ac7
mac80211: fix ieee80211_txq_setup_flows() failure path

If ieee80211_txq_setup_flows() fails, we don't clean up LED
state properly, leading to crashes later on, fix that.

Fixes: d4c935a93916 ("mac80211: Move up init of TXQs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://lore.kernel.org/r/20191105154110.1ccf7112ba5d.I0ba865792446d051867b33153be65ce6b063d98c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c