Project : madwifi
Revision : 1981
Author : proski (Pavel Roskin)
Date : 2007-01-19 23:43:48 +0100 (Fri, 19 Jan 2007)
Log Message :
Fix #1100 - use correct variable in bus_map_single()
Affected Files:
* trunk/ath/if_ath_ahb.h updated
Modified: trunk/ath/if_ath_ahb.h
===================================================================
--- trunk/ath/if_ath_ahb.h 2007-01-18 19:59:57 UTC (rev 1980)
+++ trunk/ath/if_ath_ahb.h 2007-01-19 22:43:48 UTC (rev 1981)
@@ -114,7 +114,7 @@
static __inline dma_addr_t bus_map_single(void *hwdev, void *ptr,
size_t size, int direction)
{
- dma_cache_wback_inv((unsigned long) addr, size);
+ dma_cache_wback_inv((unsigned long) ptr, size);
return __pa(ptr);
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|