diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2017-12-14 13:03:17 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-17 16:49:07 +0200 |
commit | 98051872fd25077d3b106ab3d2b945fa7025c1ef (patch) | |
tree | 6633125123827551556944a3d804cd22cd8e152f /drivers/net/mdio.c | |
parent | 99ac5327e902a56ca21365ed3d6e5249fe296ba6 (diff) | |
download | kernel_replicant_linux-98051872fd25077d3b106ab3d2b945fa7025c1ef.tar.gz kernel_replicant_linux-98051872fd25077d3b106ab3d2b945fa7025c1ef.tar.bz2 kernel_replicant_linux-98051872fd25077d3b106ab3d2b945fa7025c1ef.zip |
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>
Diffstat (limited to 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions