]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wireless/iwlwifi/iwl3945-base.c
iwlwifi: use the DMA state API instead of the pci equivalents
[net-next-2.6.git] / drivers / net / wireless / iwlwifi / iwl3945-base.c
index f3127d599739bedcaaa4108a0fd3ed337909ce64..42f1d3328078ff02b00b57c25e2f93dbc5e748e7 100644 (file)
@@ -619,8 +619,8 @@ static int iwl3945_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
                                    len, PCI_DMA_TODEVICE);
        /* we do not map meta data ... so we can safely access address to
         * provide to unmap command*/
-       pci_unmap_addr_set(out_meta, mapping, txcmd_phys);
-       pci_unmap_len_set(out_meta, len, len);
+       dma_unmap_addr_set(out_meta, mapping, txcmd_phys);
+       dma_unmap_len_set(out_meta, len, len);
 
        /* Add buffer containing Tx command and MAC(!) header to TFD's
         * first entry */