wcn36xx: check for DMA mapping errors in wcn36xx_dxe_tx_frame()
authorDaniel Mack <daniel@zonque.org>
Tue, 3 Apr 2018 16:51:52 +0000 (18:51 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Apr 2018 14:34:08 +0000 (17:34 +0300)
commit7cae35199bee1cd661926f2d68ac46d07682fc54
tree6494aa5fcfc9968521a5d6d25c7c98116fc8a850
parent9c27489a34548913baaaf3b2776e05d4a9389e3e
wcn36xx: check for DMA mapping errors in wcn36xx_dxe_tx_frame()

Bail out if the mapping fails. Even though this hasn't occured during
tests, this unlikely case should still be handled.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Acked-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/dxe.c