commit | 6987ee9bf0a2c06e0f19c0c2fdd340aec4260970 | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo@kernel.org> | Tue Apr 27 12:05:00 2021 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 14 16:56:23 2021 +0200 |
tree | 02d8e9b110a0417171477460e3a22d069f330445 | |
parent | e717f974ceedb8d045cf6c9ceed69289e545571c [diff] |
mt76: fix possible NULL pointer dereference in mt76_tx [ Upstream commit d7400a2f3e295b8cee692c7a66e10f60015a3c37 ] Even if this is not a real issue since mt76_tx is never run with wcid set to NULL, fix a theoretical NULL pointer dereference in mt76_tx routine Fixes: db9f11d3433f7 ("mt76: store wcid tx rate info in one u32 reduce locking") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>