diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-26 11:14:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-26 11:14:24 +0000 |
commit | fc5e33634728bde6c974cd8aeff04d1c32f3aae9 (patch) | |
tree | 756cdd6a03627c0e603133d236612399bbf21458 /sys/dev/ic/bcw.c | |
parent | 11d67ff21f1bb2654684b406d4d681f9fa7fd0b2 (diff) |
do not have each net80211 driver define its own rates structures. if they use
the standard rates, use some defined by net80211 itself. kernel shrinks a bit
ok jsg mglocker
Diffstat (limited to 'sys/dev/ic/bcw.c')
-rw-r--r-- | sys/dev/ic/bcw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/bcw.c b/sys/dev/ic/bcw.c index 6414d5f3275..264275ad0bc 100644 --- a/sys/dev/ic/bcw.c +++ b/sys/dev/ic/bcw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcw.c,v 1.6 2006/11/24 20:27:41 mglocker Exp $ */ +/* $OpenBSD: bcw.c,v 1.7 2006/11/26 11:14:17 deraadt Exp $ */ /* * Copyright (c) 2006 Jon Simola <jsimola@gmail.com> @@ -650,8 +650,8 @@ bcw_attach(struct bcw_softc *sc) printf(", address %s\n", ether_sprintf(ic->ic_myaddr)); /* Set supported rates */ - ic->ic_sup_rates[IEEE80211_MODE_11B] = bcw_rateset_11b; - ic->ic_sup_rates[IEEE80211_MODE_11G] = bcw_rateset_11g; + ic->ic_sup_rates[IEEE80211_MODE_11B] = ieee80211_std_rateset_11b; + ic->ic_sup_rates[IEEE80211_MODE_11G] = ieee80211_std_rateset_11g; /* Set supported channels */ for (i = 1; i <= 14; i++) { |