summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/hif-ops.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-07-16 18:59:05 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 20:45:18 +0400
commitf74a7361b8affcd76ffe1e2baa5748af4d63bcea (patch)
treec0d5cb1246f8e0350fb1e6890307fb464892516e /drivers/net/wireless/ath/ath6kl/hif-ops.h
parentbdcd81707973cf8aa9305337166f8ee842a050d4 (diff)
downloadlinux-f74a7361b8affcd76ffe1e2baa5748af4d63bcea.tar.xz
ath6kl: cleanup callbacks for different scatter gather method
Define a hook in ath6kl_hif_ops for hif scatter gather mechanism. When virtual scatter gather is used, call the respective function directly. 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/hif-ops.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif-ops.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif-ops.h b/drivers/net/wireless/ath/ath6kl/hif-ops.h
index ad4966917e84..32890cd530be 100644
--- a/drivers/net/wireless/ath/ath6kl/hif-ops.h
+++ b/drivers/net/wireless/ath/ath6kl/hif-ops.h
@@ -59,6 +59,12 @@ static inline int ath6kl_hif_enable_scatter(struct ath6kl *ar,
return ar->hif_ops->enable_scatter(ar, info);
}
+static inline int ath6kl_hif_scat_req_rw(struct ath6kl *ar,
+ struct hif_scatter_req *scat_req)
+{
+ return ar->hif_ops->scat_req_rw(ar, scat_req);
+}
+
static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar)
{
return ar->hif_ops->cleanup_scatter(ar);