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)
commite3d2ed9434331dedb9eeece586d38aec9e29f60b
treeea70b960cb6554f71a84d6d66e99de4b9d69e48a
parentb03fbab0c4d502510400b7ee5fb3d5bab6d859bf
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