Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 900d6b3f authored by Kalle Valo's avatar Kalle Valo
Browse files

ath6kl: add tx_comp_multi() to struct htc_ep_callbacks



It's also needed by the USB code.

Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 63de1112
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -326,6 +326,7 @@ struct htc_ep_callbacks {
					      struct htc_packet *);
					      struct htc_packet *);
	struct htc_packet *(*rx_allocthresh) (struct htc_target *,
	struct htc_packet *(*rx_allocthresh) (struct htc_target *,
					      enum htc_endpoint_id, int);
					      enum htc_endpoint_id, int);
	void (*tx_comp_multi) (struct htc_target *, struct list_head *);
	int rx_alloc_thresh;
	int rx_alloc_thresh;
	int rx_refill_thresh;
	int rx_refill_thresh;
};
};
+1 −0
Original line number Original line Diff line number Diff line
@@ -256,6 +256,7 @@ static int ath6kl_init_service_ep(struct ath6kl *ar)
	memset(&connect, 0, sizeof(connect));
	memset(&connect, 0, sizeof(connect));


	/* these fields are the same for all service endpoints */
	/* these fields are the same for all service endpoints */
	connect.ep_cb.tx_comp_multi = ath6kl_tx_complete;
	connect.ep_cb.rx = ath6kl_rx;
	connect.ep_cb.rx = ath6kl_rx;
	connect.ep_cb.rx_refill = ath6kl_rx_refill;
	connect.ep_cb.rx_refill = ath6kl_rx_refill;
	connect.ep_cb.tx_full = ath6kl_tx_queue_full;
	connect.ep_cb.tx_full = ath6kl_tx_queue_full;