diff options
author | 2007-05-09 16:41:14 +0000 | |
---|---|---|
committer | 2007-05-09 16:41:14 +0000 | |
commit | 22e1ded69f09353d99542fd9b8852ce486e0030a (patch) | |
tree | 9b27800c08e189c7d1227ce6071735443b59120b /sys/dev/ic/ath.c | |
parent | evcnt_attach() is no longer used; ok miod (diff) | |
download | wireguard-openbsd-22e1ded69f09353d99542fd9b8852ce486e0030a.tar.xz wireguard-openbsd-22e1ded69f09353d99542fd9b8852ce486e0030a.zip |
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); |