carl9170 firmware: fixup const volatile register access
[carl9170fw.git] / carlfw / src / wlan.c
index 6c73b4840f5649c7b0cbb6a1597f4df8257c3ce3..bc9ddc12d66975520081baae9395d20f4e6011c6 100644 (file)
@@ -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])) {