Fix mismatching prototypes in HAL
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 5 Aug 2009 17:48:41 +0000 (17:48 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 5 Aug 2009 17:48:41 +0000 (17:48 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4082 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath_hal/ah_internal.h
ath_hal/ar5210/ar5210.h
ath_hal/ar5211/ar5211.h

index f876c8f5ee06ee62c50d0a891a11e44be2a79fac..7e28dac67ae46c9458290c727f0afe0571e3df5b 100644 (file)
@@ -513,7 +513,7 @@ extern      u_int ath_hal_getctl(struct ath_hal *, HAL_CHANNEL *);
  * based on the current regulatory domain for the specified
  * channel.
  */
-extern u_int ath_hal_getnfcheckrequired(struct ath_hal *, HAL_CHANNEL *);
+extern HAL_BOOL ath_hal_getnfcheckrequired(struct ath_hal *, HAL_CHANNEL *);
 
 /*
  * Map a public channel definition to the corresponding
index 857cf3c316c75aa89c6a294be455c2fb51acc51d..92244b03b95cccfa09d2d40644e9d1743565f760 100644 (file)
@@ -254,8 +254,8 @@ extern      HAL_BOOL ar5210SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
 extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *,
                        uint16_t, const uint8_t *);
 
-extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *, uint32_t powerRequest,
-               int setChip);
+extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *,
+                       HAL_POWER_MODE powerRequest, int setChip);
 extern HAL_POWER_MODE ar5210GetPowerMode(struct ath_hal *);
 
 extern void ar5210SetBeaconTimers(struct ath_hal *,
index a6bdb94b8a70973b3ae08c61287046a33373603c..12f3bb7617ff7a9536d5c3bc17a2243df7531e4d 100644 (file)
@@ -282,8 +282,8 @@ extern      HAL_BOOL ar5211SetKeyCacheEntry(struct ath_hal *, uint16_t entry,
 extern HAL_BOOL ar5211SetKeyCacheEntryMac(struct ath_hal *,
                        uint16_t, const uint8_t *);
 
-extern HAL_BOOL ar5211SetPowerMode(struct ath_hal *, uint32_t powerRequest,
-               int setChip);
+extern HAL_BOOL ar5211SetPowerMode(struct ath_hal *,
+                       HAL_POWER_MODE powerRequest, int setChip);
 extern HAL_POWER_MODE ar5211GetPowerMode(struct ath_hal *);
 
 extern void ar5211SetBeaconTimers(struct ath_hal *,