diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-05-09 16:41:15 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-05-09 16:41:15 +0000 |
commit | af33119781efeaf92c0c8ad3db0f2a37b98d6621 (patch) | |
tree | a926e61fca71d79bb6f1e8f87276b1abf26d4be6 /sys/dev/ic/ath.c | |
parent | 0da53f0448bb68f4f90c949ab0c4db93c4256328 (diff) |
remove the internal wrapper functions for ieee80211_mhz2ieee and
ieee80211_ieee2mhz which also removes some dead code.
figured out by deraadt@
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r-- | sys/dev/ic/ath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index 13afb34b201..07cfd9759d7 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.62 2007/04/13 14:44:41 reyk Exp $ */ +/* $OpenBSD: ath.c,v 1.63 2007/05/09 16:41:14 reyk Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -3057,7 +3057,7 @@ ath_getchannels(struct ath_softc *sc, HAL_BOOL outdoor, HAL_BOOL xchanmode) */ for (i = 0; i < nchan; i++) { HAL_CHANNEL *c = &chans[i]; - ix = ath_hal_mhz2ieee(c->channel, c->channelFlags); + ix = ieee80211_mhz2ieee(c->channel, c->channelFlags); if (ix > IEEE80211_CHAN_MAX) { printf("%s: bad hal channel %u (%u/%x) ignored\n", ifp->if_xname, ix, c->channel, c->channelFlags); |