summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/htt.c
diff options
context:
space:
mode:
authorMichal Kazior2013-07-05 15:15:13 +0200
committerKalle Valo2013-07-30 17:01:17 +0200
commitcd003fad17d9258efdc5dd658666731377cfebd1 (patch)
treeb813c50266fee2aa7bffccf1b9b5471ad5ed8ee4 /drivers/net/wireless/ath/ath10k/htt.c
parentath10k: rename hif callback (diff)
downloadkernel-qcow2-linux-cd003fad17d9258efdc5dd658666731377cfebd1.tar.gz
kernel-qcow2-linux-cd003fad17d9258efdc5dd658666731377cfebd1.tar.xz
kernel-qcow2-linux-cd003fad17d9258efdc5dd658666731377cfebd1.zip
ath10k: embed HTC struct inside ath10k
This reduces number of allocations and simplifies memory managemnt. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htt.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/htt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt.c b/drivers/net/wireless/ath/ath10k/htt.c
index 185a5468a2f2..2bfb9b488e09 100644
--- a/drivers/net/wireless/ath/ath10k/htt.c
+++ b/drivers/net/wireless/ath/ath10k/htt.c
@@ -36,7 +36,7 @@ static int ath10k_htt_htc_attach(struct ath10k_htt *htt)
/* connect to control service */
conn_req.service_id = ATH10K_HTC_SVC_ID_HTT_DATA_MSG;
- status = ath10k_htc_connect_service(htt->ar->htc, &conn_req,
+ status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req,
&conn_resp);
if (status)