]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e98f013db0dc2a1f62ef6ba5752bc62c360b885
tree6494aa5fcfc9968521a5d6d25c7c98116fc8a850
parent3b64f052758ef945f6d84068ea6ccfe39fc4c112
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