mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
correct handling of dtim for periods > 1
Obtained from: madwifi
This commit is contained in:
parent
ac7326e338
commit
a196b35f08
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue