fix typo
Submitted by: "Norman Diamond \(ITS\)" <n_diamond@its.jp>
This commit is contained in:
parent
cf0bd0a1ac
commit
51235c32fb
@ -178,7 +178,7 @@ ieee80211_mhz2ieee(u_int freq, u_int flags)
|
|||||||
return (freq - 2407) / 5;
|
return (freq - 2407) / 5;
|
||||||
else
|
else
|
||||||
return 15 + ((freq - 2512) / 20);
|
return 15 + ((freq - 2512) / 20);
|
||||||
} else if (IEEE80211_CHAN_5GHZ) { /* 5Ghz band */
|
} else if (flags & IEEE80211_CHAN_5GHZ) { /* 5Ghz band */
|
||||||
return (freq - 5000) / 5;
|
return (freq - 5000) / 5;
|
||||||
} else { /* either, guess */
|
} else { /* either, guess */
|
||||||
if (freq == 2484)
|
if (freq == 2484)
|
||||||
|
Loading…
Reference in New Issue
Block a user