summaryrefslogtreecommitdiffstats
path: root/sys/dev/ipw
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-03-11 22:43:35 +0000
committersam <sam@FreeBSD.org>2007-03-11 22:43:35 +0000
commit44a133f2e813fcb90c74f699b232eb1c17e9ccc4 (patch)
tree3d26f0909d11e82cb6cfb7f7eaa3434470f7441a /sys/dev/ipw
parent36b44d59ffb7e5797a4f184a293e085b813f4220 (diff)
downloadFreeBSD-src-44a133f2e813fcb90c74f699b232eb1c17e9ccc4.zip
FreeBSD-src-44a133f2e813fcb90c74f699b232eb1c17e9ccc4.tar.gz
allow net80211 to fillin rate sets
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/ipw')
-rw-r--r--sys/dev/ipw/if_ipw.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c
index d9cbaf5..1942c0017 100644
--- a/sys/dev/ipw/if_ipw.c
+++ b/sys/dev/ipw/if_ipw.c
@@ -173,12 +173,6 @@ static devclass_t ipw_devclass;
DRIVER_MODULE(ipw, pci, ipw_driver, ipw_devclass, 0, 0);
-/*
- * Supported rates for 802.11b mode (in 500Kbps unit).
- */
-static const struct ieee80211_rateset ipw_rateset_11b =
- { 4, { 2, 4, 11, 22 } };
-
static int
ipw_probe(device_t dev)
{
@@ -293,9 +287,6 @@ ipw_attach(device_t dev)
ic->ic_myaddr[4] = val >> 8;
ic->ic_myaddr[5] = val & 0xff;
- /* set supported .11b rates */
- ic->ic_sup_rates[IEEE80211_MODE_11B] = ipw_rateset_11b;
-
/* set supported .11b channels */
for (i = 1; i < 14; i++) {
ic->ic_channels[i].ic_freq =
OpenPOWER on IntegriCloud