From 4462df298cf88957239e7ac286233eba9abb5850 Mon Sep 17 00:00:00 2001 From: proski Date: Wed, 5 Aug 2009 17:48:41 +0000 Subject: [PATCH] Fix mismatching prototypes in HAL git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4082 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath_hal/ah_internal.h | 2 +- ath_hal/ar5210/ar5210.h | 4 ++-- ath_hal/ar5211/ar5211.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ath_hal/ah_internal.h b/ath_hal/ah_internal.h index f876c8f..7e28dac 100644 --- a/ath_hal/ah_internal.h +++ b/ath_hal/ah_internal.h @@ -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 diff --git a/ath_hal/ar5210/ar5210.h b/ath_hal/ar5210/ar5210.h index 857cf3c..92244b0 100644 --- a/ath_hal/ar5210/ar5210.h +++ b/ath_hal/ar5210/ar5210.h @@ -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 *, diff --git a/ath_hal/ar5211/ar5211.h b/ath_hal/ar5211/ar5211.h index a6bdb94..12f3bb7 100644 --- a/ath_hal/ar5211/ar5211.h +++ b/ath_hal/ar5211/ar5211.h @@ -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 *,