summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/htt.c
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2013-07-05 17:15:13 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2013-07-30 19:01:17 +0400
commitcd003fad17d9258efdc5dd658666731377cfebd1 (patch)
treeb813c50266fee2aa7bffccf1b9b5471ad5ed8ee4 /drivers/net/wireless/ath/ath10k/htt.c
parente799bbffdd6e67305b057e3c13c0eed23523bdad (diff)
downloadlinux-cd003fad17d9258efdc5dd658666731377cfebd1.tar.xz
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)