]> 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)
commit65d76044edfaa2c0fc6135be1e9147be12bc747d
treeea70b960cb6554f71a84d6d66e99de4b9d69e48a
parent1db03d718199ac9d9d349e104cf092a464ff91a6
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