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

Commit f6689072 authored by Sujith's avatar Sujith Committed by John W. Linville
Browse files

ath9k_htc: Pass correct private pointer



In the TX callback, the HTC layer has to pass the
priv pointer that was registered during service initialization.

Signed-off-by: default avatarSujith <Sujith.Manoharan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 51f139d5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -341,8 +341,9 @@ void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle,
		skb_pull(skb, sizeof(struct htc_frame_hdr));

		if (endpoint->ep_callbacks.tx) {
			endpoint->ep_callbacks.tx(htc_handle->drv_priv, skb,
						  htc_hdr->endpoint_id, txok);
			endpoint->ep_callbacks.tx(endpoint->ep_callbacks.priv,
						  skb, htc_hdr->endpoint_id,
						  txok);
		}
	}