summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/htc_hif.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-07-16 18:59:15 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 20:45:20 +0400
commit4a005c3ed0e6424e991daeea385bd08a9b97b67a (patch)
tree1ec9969f4001fe42c7aafeb2fd1e97f098bcb6d9 /drivers/net/wireless/ath/ath6kl/htc_hif.c
parentcfeab10b117cee7c2b3a8aaf1dc49d28482aeca0 (diff)
downloadlinux-4a005c3ed0e6424e991daeea385bd08a9b97b67a.tar.xz
ath6kl: Moe virt_scat from hif_dev_scat_sup_info to hif_scatter_req
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc_hif.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc_hif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc_hif.c b/drivers/net/wireless/ath/ath6kl/htc_hif.c
index 33887ccce034..44bee90bc9a6 100644
--- a/drivers/net/wireless/ath/ath6kl/htc_hif.c
+++ b/drivers/net/wireless/ath/ath6kl/htc_hif.c
@@ -273,7 +273,7 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
scat_req->addr, !read ? "async" : "sync",
(read) ? "rd" : "wr");
- if (!read && dev->hif_scat_info.virt_scat)
+ if (!read && scat_req->virt_scat)
status = ath6kldev_cp_scat_dma_buf(scat_req, false);
if (status) {
@@ -285,7 +285,7 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
return status;
}
- if (dev->hif_scat_info.virt_scat)
+ if (scat_req->virt_scat)
status = ath6kldev_rw_scatter(dev->ar, scat_req);
else
status = ath6kl_hif_scat_req_rw(dev->ar, scat_req);
@@ -293,7 +293,7 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
if (read) {
/* in sync mode, we can touch the scatter request */
scat_req->status = status;
- if (!status && dev->hif_scat_info.virt_scat)
+ if (!status && scat_req->virt_scat)
scat_req->status =
ath6kldev_cp_scat_dma_buf(scat_req, true);
}