Remove the world's most pointless macro definition

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3755 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mentor 2008-07-06 02:07:16 +00:00
parent 77c44c5d03
commit 4c5dbf4fbd

View File

@ -10105,8 +10105,6 @@ athff_can_aggregate(struct ath_softc *sc, struct ether_header *eh,
struct ath_buf *ffbuf = an->an_tx_ffbuf[skb->priority];
u_int32_t txoplimit;
#define US_PER_4MS 4000
*flushq = AH_FALSE;
if (fragthreshold < 2346)
@ -10130,9 +10128,9 @@ athff_can_aggregate(struct ath_softc *sc, struct ether_header *eh,
txoplimit = IEEE80211_TXOP_TO_US(
ic->ic_wme.wme_chanParams.cap_wmeParams[skb->priority].wmep_txopLimit);
/* if the 4 msec limit is set on the channel, take it into account */
/* Handle 4 ms channel limit. */
if (sc->sc_curchan.privFlags & CHANNEL_4MS_LIMIT)
txoplimit = MIN(txoplimit, US_PER_4MS);
txoplimit = MIN(txoplimit, 4000);
if (txoplimit != 0 && athff_approx_txtime(sc, an, skb) > txoplimit) {
DPRINTF(sc, ATH_DEBUG_XMIT | ATH_DEBUG_FF,
@ -10143,8 +10141,6 @@ athff_can_aggregate(struct ath_softc *sc, struct ether_header *eh,
}
return AH_TRUE;
#undef US_PER_4MS
}
#endif