summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2005-10-02 03:55:07 +0000
committeravatar <avatar@FreeBSD.org>2005-10-02 03:55:07 +0000
commit4aac14991941450642bcd39207147b5502a195d1 (patch)
tree4af5b628597bbd44041eb4d3190a2a67da29474b /sys/dev/wi
parent1069404ea9a832875f130c97f7dbe1ebe0f767da (diff)
downloadFreeBSD-src-4aac14991941450642bcd39207147b5502a195d1.zip
FreeBSD-src-4aac14991941450642bcd39207147b5502a195d1.tar.gz
Honouring ic->ic_dtim_period.
Submitted by: sam MFC after: 3 days
Diffstat (limited to 'sys/dev/wi')
-rw-r--r--sys/dev/wi/if_wi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index d8b6c31..a2cb03b 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -742,7 +742,7 @@ wi_init(void *arg)
wi_write_val(sc, WI_RID_OWN_BEACON_INT, ic->ic_bintval);
wi_write_val(sc, WI_RID_BASIC_RATE, 0x03); /* 1, 2 */
wi_write_val(sc, WI_RID_SUPPORT_RATE, 0x0f); /* 1, 2, 5.5, 11 */
- wi_write_val(sc, WI_RID_DTIM_PERIOD, 1);
+ wi_write_val(sc, WI_RID_DTIM_PERIOD, ic->ic_dtim_period);
}
/*
OpenPOWER on IntegriCloud