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:09 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 20:45:19 +0400
commite041c7f9af5a3583ee2bd20af1b03ec56b6adcca (patch)
tree31b2ed552fc9787e38657292b48d95231a7c9675 /drivers/net/wireless/ath/ath6kl/htc_hif.c
parent7c565b6f8c635fc22535c763e08184379b16920e (diff)
downloadlinux-e041c7f9af5a3583ee2bd20af1b03ec56b6adcca.tar.xz
ath6kl: Remove endpoint reference from hif_scatter_req
Endpoint id ffrom htc_packet can be used instead. 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 df904d8c48c0..40853cbad365 100644
--- a/drivers/net/wireless/ath/ath6kl/htc_hif.c
+++ b/drivers/net/wireless/ath/ath6kl/htc_hif.c
@@ -201,7 +201,7 @@ static void ath6kldev_rw_async_handler(struct htc_target *target,
ath6kl_add_io_pkt(dev, packet);
- req->complete(req);
+ req->complete(target, req);
}
static int ath6kldev_rw_scatter(struct ath6kl *ar, struct hif_scatter_req *req)
@@ -243,7 +243,7 @@ out:
if (packet != NULL)
ath6kl_add_io_pkt(dev, packet);
req->status = status;
- req->complete(req);
+ req->complete(ar->htc_target, req);
status = 0;
}
@@ -279,7 +279,7 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
if (status) {
if (!read) {
scat_req->status = status;
- scat_req->complete(scat_req);
+ scat_req->complete(dev->ar->htc_target, scat_req);
return 0;
}
return status;