projects
/
madwifi
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiling on non-MIPS platforms
[madwifi/.git]
/
ath
/
if_ath_hal_wrappers.h
diff --git
a/ath/if_ath_hal_wrappers.h
b/ath/if_ath_hal_wrappers.h
index c8b02d8aab9c51425b838cd8201671f64ee85009..ca058023bba7c778aec43cfaa454c41dd790492e 100644
(file)
--- 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)
{
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_ */
}
#endif /* #ifndef _IF_ATH_HAL_WRAPPERS_H_ */