[PATCH 42/42] build fix: add type convert ath_desc ath_rx_desc

Oleksij Rempel linux at rempel-privat.de
Mon Apr 1 02:51:34 EDT 2013


in this case there is nothing to fix. dd_desc can be used by different
struct types, rx and tx.

Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
 target_firmware/wlan/if_ath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c
index b787a84..baf1ae6 100755
--- a/target_firmware/wlan/if_ath.c
+++ b/target_firmware/wlan/if_ath.c
@@ -933,7 +933,7 @@ static a_int32_t ath_desc_alloc(struct ath_softc_tgt *sc)
 
 	a_uint32_t i;
 	struct ath_descdma *dd = &sc->sc_rxdma;
-	struct ath_rx_desc *ds = dd->dd_desc;
+	struct ath_rx_desc *ds = (struct ath_rx_desc *)dd->dd_desc;
 	struct ath_rx_desc *ds_prev = NULL;
 
 	asf_tailq_init(&sc->sc_rxdesc);
-- 
1.8.1.2




More information about the Ath9k_htc_fw mailing list