diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-25 11:34:28 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-25 11:34:28 +0000 |
commit | e2c4494a79c87e6c44187eef657de2776196f846 (patch) | |
tree | a7dae92be34cbb1f798d33ebfdb10f9e7cb734b3 /sys/net80211/ieee80211_node.c | |
parent | 459fd55e400d54be5b404e3e83a138a2aea7a176 (diff) |
Set up ni_savedq for the initial BSS node such that it can actually be used
to store multicast frames when one of the associated stations is in power
saving mode.
ok stsp@
Diffstat (limited to 'sys/net80211/ieee80211_node.c')
-rw-r--r-- | sys/net80211/ieee80211_node.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index 4356630f91d..cf6a4c73394 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.c,v 1.72 2012/08/17 14:49:17 stsp Exp $ */ +/* $OpenBSD: ieee80211_node.c,v 1.73 2012/08/25 11:34:27 kettenis Exp $ */ /* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */ /*- @@ -204,6 +204,9 @@ ieee80211_node_lateattach(struct ifnet *ifp) ni->ni_chan = IEEE80211_CHAN_ANYC; ic->ic_bss = ieee80211_ref_node(ni); ic->ic_txpower = IEEE80211_TXPOWER_MAX; +#ifndef IEEE80211_STA_ONLY + IFQ_SET_MAXLEN(&ni->ni_savedq, IEEE80211_PS_MAX_QUEUE); +#endif } void |