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