build fix: add type conversation for asf_tailq_next
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_ath.c
index 93e00c522990abb9e17861e4f3d682a85e25ad4f..263627f564d95117b05f6477b9618d4d4fa9631c 100755 (executable)
@@ -446,7 +446,7 @@ static void ath_uapsd_processtriggers(struct ath_softc_tgt *sc)
 
                        bf->bf_status |= ATH_BUFSTATUS_DONE;
 
-                       bf = asf_tailq_next(bf, bf_list);
+                       bf = (struct ath_rx_buf *)asf_tailq_next(bf, bf_list);
                }
                else {
                        ds = asf_tailq_next(ds, ds_list);