X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Fwlan.c;h=bc9ddc12d66975520081baae9395d20f4e6011c6;hb=refs%2Ftags%2F1.9.4;hp=6c73b4840f5649c7b0cbb6a1597f4df8257c3ce3;hpb=af915846d44d23adc02c7ded807282d607b46faa;p=carl9170fw.git diff --git a/carlfw/src/wlan.c b/carlfw/src/wlan.c index 6c73b48..bc9ddc1 100644 --- a/carlfw/src/wlan.c +++ b/carlfw/src/wlan.c @@ -1223,7 +1223,7 @@ static void wlan_check_hang(void) } /* fetch the current DMA queue position */ - desc = get_wlan_txq_addr(i); + desc = (struct dma_desc *)get_wlan_txq_addr(i); /* Stuck frame detection */ if (unlikely(DESC_PAYLOAD(desc) == fw.wlan.last_super[i])) {