Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> --- drivers/net/wireless/ath/ath10k/sdio.c | 9 +++++---- drivers/net/wireless/ath/ath10k/sdio.h | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c index 301355228cfa..8ea1629c7bae 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.c +++ b/drivers/net/wireless/ath/ath10k/sdio.c @@ -1304,9 +1304,11 @@ static void __ath10k_sdio_write_async(struct ath10k *ar, int ret; skb = req->skb; - ret = ath10k_sdio_read_write_sync(ar, req->address, - skb->data, skb->len, - req->request); + ret = ath10k_sdio_write(ar, req->address, skb->data, skb->len); + if (ret) + ath10k_warn(ar, "failed to write skb to 0x%x asynchronously: %d", + req->address, ret); + if (req->htc_msg) { ep = &ar->htc.endpoint[req->eid]; ath10k_htc_notify_tx_completion(ep, skb); @@ -1355,7 +1357,6 @@ static int ath10k_sdio_prep_async_req(struct ath10k *ar, u32 addr, } bus_req->skb = skb; - bus_req->request = HIF_WRITE; bus_req->eid = eid; bus_req->address = addr; bus_req->htc_msg = htc_msg; diff --git a/drivers/net/wireless/ath/ath10k/sdio.h b/drivers/net/wireless/ath/ath10k/sdio.h index d1e4f78ddaeb..1bce56447e53 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.h +++ b/drivers/net/wireless/ath/ath10k/sdio.h @@ -110,7 +110,7 @@ struct ath10k_sdio_bus_request { /* sdio address */ u32 address; - u32 request; + struct sk_buff *skb; enum ath10k_htc_ep_id eid; int status;