carl9170 firmware: fix CONFIG_CARL9170FW_DEBUG compile error
[carl9170fw.git] / carlfw / src / wlan.c
index 0f4dfeba074dfb53c898cb0bfb59887a7caca1d9..384d8d1118fafb89d994895ba2841ca66081fb04 100644 (file)
@@ -56,7 +56,7 @@ static void wlan_dump_queue(unsigned int qidx)
                entries++;
        }
 
-       desc = get_wlan_txq_addr(qidx);
+       desc = (struct dma_desc *)get_wlan_txq_addr(qidx);
 
        DBG("Queue: %d: te:%d td:%d h:%p c:%p t:%p",
            qidx, entries, queue_len(&fw.wlan.tx_queue[qidx]),