summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2006-11-23 22:03:08 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2006-11-23 22:03:08 +0000
commit6184c8b68b0c7593cce7969caedd15be3110b026 (patch)
treefe30700e72904fff12d8063710ff70e4679c7128 /sys/dev
parent094cf4d40e8e1ab538bae435e304f80d1a658fc1 (diff)
Remove 802.11a stuff. There is one RF chip (88W8030) which supports 5GHz,
but it seems rarely used and we don't know in connecton with which chip. 88W8335/88W8310 uses 88W8000G RF (2.4GHz).
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/malo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c
index 8df6b1dfbce..b7722cf8a43 100644
--- a/sys/dev/ic/malo.c
+++ b/sys/dev/ic/malo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malo.c,v 1.32 2006/11/23 20:19:19 mglocker Exp $ */
+/* $OpenBSD: malo.c,v 1.33 2006/11/23 22:03:07 mglocker Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -110,7 +110,6 @@ struct malo_tx_desc {
#define MALO_RX_RING_COUNT 256
#define MALO_TX_RING_COUNT 256
#define MALO_MAX_SCATTER 8 /* XXX unknown, wild guess */
-#define MALO_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22)
/*
* Firmware commands
@@ -1239,7 +1238,7 @@ malo_tx_mgt(struct malo_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
data = &sc->sc_txring.data[sc->sc_txring.cur];
/* send mgt frames at the lowest available rate */
- rate = IEEE80211_IS_CHAN_5GHZ(ni->ni_chan) ? 12 : 2;
+ rate = 2;
if (m0->m_len < sizeof(struct ieee80211_frame *)) {
m0 = m_pullup(m0, sizeof(struct ieee80211_frame *));