From: mentor Date: Sun, 30 Mar 2008 00:08:36 +0000 (+0000) Subject: Similarly to r3315 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=0a246c936d2d484b319a22b64ea99b7b02c21143;p=madwifi%2F.git Similarly to r3315 git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3412 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/net80211/ieee80211.c b/net80211/ieee80211.c index 04404a6..4492a3b 100644 --- a/net80211/ieee80211.c +++ b/net80211/ieee80211.c @@ -329,9 +329,9 @@ ieee80211_ifattach(struct ieee80211com *ic) /* 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");