Commit 23b7840a authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by Kalle Valo

ath6kl: Minor cleanup in ath6kldev_submit_scat_req()

Signed-off-by: default avatarVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent ca06cadb
...@@ -191,16 +191,13 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev, ...@@ -191,16 +191,13 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
scat_req->addr, !read ? "async" : "sync", scat_req->addr, !read ? "async" : "sync",
(read) ? "rd" : "wr"); (read) ? "rd" : "wr");
if (!read && scat_req->virt_scat) if (!read && scat_req->virt_scat) {
status = ath6kldev_cp_scat_dma_buf(scat_req, false); status = ath6kldev_cp_scat_dma_buf(scat_req, false);
if (status) {
if (status) {
if (!read) {
scat_req->status = status; scat_req->status = status;
scat_req->complete(dev->ar->htc_target, scat_req); scat_req->complete(dev->ar->htc_target, scat_req);
return 0; return 0;
} }
return status;
} }
status = ath6kl_hif_scat_req_rw(dev->ar, scat_req); status = ath6kl_hif_scat_req_rw(dev->ar, scat_req);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment