ath6kl: Avoid rolling back of entire scatter setup in case of failure
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Mon, 22 Aug 2011 15:10:22 +0000 (20:40 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 31 Aug 2011 07:10:54 +0000 (10:10 +0300)
commitf7a7e7ae5db1d436805de7fe19c51b5b2657c63e
tree9fa213a92e8672079b24a305aac2dc620711d68b
parent3ce6ff501c92e15314f450edc2e93653a7325780
ath6kl: Avoid rolling back of entire scatter setup in case of failure

Current tx scatter gather implementation rolls back the entire
scatter setup in case of a failure in setting up just one packet
into the bundle. Instead of dopping the whole scatter setup,
send the packets available just before the failure one using
scatter gather I/O.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc.c