aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-03-25 10:15:23 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-03-26 09:36:45 -0400
commit900d6b3fea62a991cdb704bed6433ae72b424d96 (patch)
tree196902642f6e0e481f2047f47a377e822d99a4ff /drivers/net
parent63de111257cdd04ebffc5ad873447ada2901a29e (diff)
ath6kl: add tx_comp_multi() to struct htc_ep_callbacks
It's also needed by the USB code. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.h1
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h
index 7b0c489164e..51f2485e29f 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.h
+++ b/drivers/net/wireless/ath/ath6kl/htc.h
@@ -326,6 +326,7 @@ struct htc_ep_callbacks {
326 struct htc_packet *); 326 struct htc_packet *);
327 struct htc_packet *(*rx_allocthresh) (struct htc_target *, 327 struct htc_packet *(*rx_allocthresh) (struct htc_target *,
328 enum htc_endpoint_id, int); 328 enum htc_endpoint_id, int);
329 void (*tx_comp_multi) (struct htc_target *, struct list_head *);
329 int rx_alloc_thresh; 330 int rx_alloc_thresh;
330 int rx_refill_thresh; 331 int rx_refill_thresh;
331}; 332};
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index 1b97f26b967..d33691e8f12 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -256,6 +256,7 @@ static int ath6kl_init_service_ep(struct ath6kl *ar)
256 memset(&connect, 0, sizeof(connect)); 256 memset(&connect, 0, sizeof(connect));
257 257
258 /* these fields are the same for all service endpoints */ 258 /* these fields are the same for all service endpoints */
259 connect.ep_cb.tx_comp_multi = ath6kl_tx_complete;
259 connect.ep_cb.rx = ath6kl_rx; 260 connect.ep_cb.rx = ath6kl_rx;
260 connect.ep_cb.rx_refill = ath6kl_rx_refill; 261 connect.ep_cb.rx_refill = ath6kl_rx_refill;
261 connect.ep_cb.tx_full = ath6kl_tx_queue_full; 262 connect.ep_cb.tx_full = ath6kl_tx_queue_full;