diff options
author | sam <sam@FreeBSD.org> | 2003-06-27 02:53:00 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-06-27 02:53:00 +0000 |
commit | 51235c32fb2a5540b3f216dce2d70fb6b8ce899d (patch) | |
tree | 2c863968988104211740661c5b76a878dd9a5328 /sys/net80211 | |
parent | cf0bd0a1ac2d0981d19840de6eb19e22c602107c (diff) | |
download | FreeBSD-src-51235c32fb2a5540b3f216dce2d70fb6b8ce899d.zip FreeBSD-src-51235c32fb2a5540b3f216dce2d70fb6b8ce899d.tar.gz |
fix typo
Submitted by: "Norman Diamond \(ITS\)" <n_diamond@its.jp>
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index 4cec8d1..f2fcf08 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -178,7 +178,7 @@ ieee80211_mhz2ieee(u_int freq, u_int flags) return (freq - 2407) / 5; else return 15 + ((freq - 2512) / 20); - } else if (IEEE80211_CHAN_5GHZ) { /* 5Ghz band */ + } else if (flags & IEEE80211_CHAN_5GHZ) { /* 5Ghz band */ return (freq - 5000) / 5; } else { /* either, guess */ if (freq == 2484) |