summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/hif-ops.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-10-30 19:15:57 (GMT)
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 10:58:58 (GMT)
commit32a07e4448f78158a75f7c1f0056289647d83946 (patch)
treec248329a3c55b151c09bce26c0aa2556e31c8f30 /drivers/net/wireless/ath/ath6kl/hif-ops.h
parentcd4b8b85800a47dc68b9282ffc3a88b82e77f242 (diff)
downloadlinux-32a07e4448f78158a75f7c1f0056289647d83946.tar.xz
ath6kl: create ath6kl_hif_stop()
This is to reset hif layer for powering down hw. 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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif-ops.h b/drivers/net/wireless/ath/ath6kl/hif-ops.h
index 34adc77..50fd3e9 100644
--- a/drivers/net/wireless/ath/ath6kl/hif-ops.h
+++ b/drivers/net/wireless/ath/ath6kl/hif-ops.h
@@ -111,4 +111,11 @@ static inline int ath6kl_hif_power_off(struct ath6kl *ar)
return ar->hif_ops->power_off(ar);
}
+static inline void ath6kl_hif_stop(struct ath6kl *ar)
+{
+ ath6kl_dbg(ATH6KL_DBG_HIF, "hif stop\n");
+
+ ar->hif_ops->stop(ar);
+}
+
#endif