]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: Fix TSO overflow handling
authorHamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Sun, 25 Oct 2015 13:59:22 +0000 (15:59 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Oct 2015 11:06:45 +0000 (13:06 +0200)
commitf1dc6c0714a87d8c3ae0c5df1afa32076a77d878
treeea70b960cb6554f71a84d6d66e99de4b9d69e48a
parent15f6ceb898c73bda23bf9051e07e10f0e6941fb6
wil6210: Fix TSO overflow handling

When Tx ring full is encountered with TSO,
printout of "DMA error" was wrongly printed.

In addition, in case of Tx ring full return
proper error code so that NETDEV_TX_BUSY is
returned to network stack in order not to
drop the packets and retry transmission of the
packets when ring is emptied.

Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/txrx.c