commit | 98051872fd25077d3b106ab3d2b945fa7025c1ef | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | Thu Dec 14 13:03:17 2017 +0100 |
committer | Kalle Valo <kvalo@codeaurora.org> | Wed Jan 17 16:49:07 2018 +0200 |
tree | 6633125123827551556944a3d804cd22cd8e152f | |
parent | 99ac5327e902a56ca21365ed3d6e5249fe296ba6 [diff] |
mt76: fix possible NULL pointer dereferencing in mt76x2_mac_write_txwi() Verify wcid is not NULL before dereferencing the pointer to initialize txwi rate/power info Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e") Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>