summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-04-02 18:54:30 +0000
committersam <sam@FreeBSD.org>2005-04-02 18:54:30 +0000
commitee875d374018254b84a6c373c59382ba0cfc5af7 (patch)
treeeeabdb911d8549d51dd8c3c0d0b297b729114007 /sys
parent87aa2970305bd4af23f1d21ad5990d9a7c1aa358 (diff)
downloadFreeBSD-src-ee875d374018254b84a6c373c59382ba0cfc5af7.zip
FreeBSD-src-ee875d374018254b84a6c373c59382ba0cfc5af7.tar.gz
nuke unintentional use of HAL_BOOL type
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ath/ath_rate/amrr/amrr.c4
-rw-r--r--sys/dev/ath/ath_rate/onoe/onoe.c4
-rw-r--r--sys/dev/ath/ath_rate/sample/sample.c4
-rw-r--r--sys/dev/ath/if_athrate.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ath/ath_rate/amrr/amrr.c b/sys/dev/ath/ath_rate/amrr/amrr.c
index 3afdd2c..705bd2a 100644
--- a/sys/dev/ath/ath_rate/amrr/amrr.c
+++ b/sys/dev/ath/ath_rate/amrr/amrr.c
@@ -114,7 +114,7 @@ ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an)
void
ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
- HAL_BOOL shortPreamble, size_t frameLen,
+ int shortPreamble, size_t frameLen,
u_int8_t *rix, int *try0, u_int8_t *txrate)
{
struct amrr_node *amn = ATH_NODE_AMRR(an);
@@ -129,7 +129,7 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
void
ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an,
- struct ath_desc *ds, HAL_BOOL shortPreamble, u_int8_t rix)
+ struct ath_desc *ds, int shortPreamble, u_int8_t rix)
{
struct amrr_node *amn = ATH_NODE_AMRR(an);
diff --git a/sys/dev/ath/ath_rate/onoe/onoe.c b/sys/dev/ath/ath_rate/onoe/onoe.c
index 09c5531..478c014 100644
--- a/sys/dev/ath/ath_rate/onoe/onoe.c
+++ b/sys/dev/ath/ath_rate/onoe/onoe.c
@@ -131,7 +131,7 @@ ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an)
void
ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
- HAL_BOOL shortPreamble, size_t frameLen,
+ int shortPreamble, size_t frameLen,
u_int8_t *rix, int *try0, u_int8_t *txrate)
{
struct onoe_node *on = ATH_NODE_ONOE(an);
@@ -146,7 +146,7 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
void
ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an,
- struct ath_desc *ds, HAL_BOOL shortPreamble, u_int8_t rix)
+ struct ath_desc *ds, int shortPreamble, u_int8_t rix)
{
struct onoe_node *on = ATH_NODE_ONOE(an);
diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c
index 4032242..0cdc84b 100644
--- a/sys/dev/ath/ath_rate/sample/sample.c
+++ b/sys/dev/ath/ath_rate/sample/sample.c
@@ -237,7 +237,7 @@ static __inline int pick_sample_ndx(struct sample_node *sn, int size_bin)
void
ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
- HAL_BOOL shortPreamble, size_t frameLen,
+ int shortPreamble, size_t frameLen,
u_int8_t *rix, int *try0, u_int8_t *txrate)
{
struct sample_node *sn = ATH_NODE_SAMPLE(an);
@@ -378,7 +378,7 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
void
ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an,
- struct ath_desc *ds, HAL_BOOL shortPreamble, u_int8_t rix)
+ struct ath_desc *ds, int shortPreamble, u_int8_t rix)
{
struct sample_node *sn = ATH_NODE_SAMPLE(an);
int rateCode = -1;
diff --git a/sys/dev/ath/if_athrate.h b/sys/dev/ath/if_athrate.h
index 8acb046..90a4416 100644
--- a/sys/dev/ath/if_athrate.h
+++ b/sys/dev/ath/if_athrate.h
@@ -121,14 +121,14 @@ void ath_rate_newstate(struct ath_softc *, enum ieee80211_state);
* can be transmitted with multi-rate retry.
*/
void ath_rate_findrate(struct ath_softc *, struct ath_node *,
- HAL_BOOL shortPreamble, size_t frameLen,
+ int shortPreamble, size_t frameLen,
u_int8_t *rix, int *try0, u_int8_t *txrate);
/*
* Setup any extended (multi-rate) descriptor state for a data packet.
* The rate index returned by ath_rate_findrate is passed back in.
*/
void ath_rate_setupxtxdesc(struct ath_softc *, struct ath_node *,
- struct ath_desc *, HAL_BOOL shortPreamble, u_int8_t rix);
+ struct ath_desc *, int shortPreamble, u_int8_t rix);
/*
* Update rate control state for a packet associated with the
* supplied transmit descriptor. The routine is invoked both
OpenPOWER on IntegriCloud