diff options
author | sam <sam@FreeBSD.org> | 2005-12-05 22:14:13 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-12-05 22:14:13 +0000 |
commit | 7c824b541b2072cd2d84c67f548edb5999ec4e6a (patch) | |
tree | eb152d1f87b7b5f58a221719f6b5f225fe13391d /sys | |
parent | ec69f8e34ca9cbec7c64ac2ec36de264961d1a79 (diff) | |
download | FreeBSD-src-7c824b541b2072cd2d84c67f548edb5999ec4e6a.zip FreeBSD-src-7c824b541b2072cd2d84c67f548edb5999ec4e6a.tar.gz |
correct handling of dtim for periods > 1
Obtained from: madwifi
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c index 70baf8d..ebcf6ec 100644 --- a/sys/net80211/ieee80211_output.c +++ b/sys/net80211/ieee80211_output.c @@ -1642,7 +1642,7 @@ ieee80211_beacon_update(struct ieee80211com *ic, struct ieee80211_node *ni, else tie->tim_count--; /* update state for buffered multicast frames on DTIM */ - if (mcast && (tie->tim_count == 1 || tie->tim_period == 1)) + if (mcast && tie->tim_count == 0) tie->tim_bitctl |= 1; else tie->tim_bitctl &= ~1; |