X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Fwlan.c;h=bc9ddc12d66975520081baae9395d20f4e6011c6;hb=7e4f4928397dbdcb0e2d4efa3c718e503d75dfae;hp=6c73b4840f5649c7b0cbb6a1597f4df8257c3ce3;hpb=8bd3397985e442761ce6956b3ba2e126a2577c42;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])) {