/* We store the beacon miss threshold in integral number of beacons,
* to keep the calculations on the critical path simple. */
if (ic->ic_bmissthreshold == 0) {
/* We store the beacon miss threshold in integral number of beacons,
* to keep the calculations on the critical path simple. */
if (ic->ic_bmissthreshold == 0) {
- ic->ic_bmissthreshold = howmany(roundup(
- IEEE80211_MS_TO_TU(IEEE80211_BMISSTHRESH_DEFAULT_MS),
- ic->ic_lintval), ic->ic_lintval);
+ ic->ic_bmissthreshold = howmany(IEEE80211_MS_TO_TU(
+ IEEE80211_BMISSTHRESH_DEFAULT_MS),
+ ic->ic_lintval);
}
IEEE80211_LOCK_INIT(ic, "ieee80211com");
}
IEEE80211_LOCK_INIT(ic, "ieee80211com");