From ebcc6580081c16861055e76192b227dc8cfd098a Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 26 Nov 2007 14:26:15 +0000 Subject: [PATCH] fix wrong hal type usage for interference mitigation git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2978 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_ath_hal_wrappers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ath/if_ath_hal_wrappers.h b/ath/if_ath_hal_wrappers.h index c8b02d8..ca05802 100644 --- a/ath/if_ath_hal_wrappers.h +++ b/ath/if_ath_hal_wrappers.h @@ -283,7 +283,7 @@ static inline HAL_BOOL ath_hal_getintmit(struct ath_hal *ah, u_int32_t *dst) static inline HAL_BOOL ath_hal_setintmit(struct ath_hal *ah, u_int32_t v) { - return (ath_hal_setcapability(ah, HAL_CAP_INTMIT, 1, v, NULL) == HAL_OK); + return (ath_hal_setcapability(ah, HAL_CAP_INTMIT, 1, v, NULL)); } #endif /* #ifndef _IF_ATH_HAL_WRAPPERS_H_ */ -- 2.35.1