diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-01-13 21:29:54 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-01-13 21:29:54 +0000 |
commit | d0d0ddbd5c375939fdfd8db9342edabe9ece7dfb (patch) | |
tree | 5e7fd45b0828fa3278e552b403862d4312560b46 /sys/dev/usb | |
parent | f5fb854f0d19e32bb4869b25482117abc3915868 (diff) |
send management frames at lowest possible rate.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_ral.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c index 21744efa1d6..040143ebd3b 100644 --- a/sys/dev/usb/if_ral.c +++ b/sys/dev/usb/if_ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral.c,v 1.57 2006/01/13 21:00:54 damien Exp $ */ +/* $OpenBSD: if_ral.c,v 1.58 2006/01/13 21:29:53 damien Exp $ */ /*- * Copyright (c) 2005, 2006 @@ -1127,7 +1127,7 @@ ural_tx_bcn(struct ural_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) uint8_t *buf; int xferlen, rate; - rate = IEEE80211_IS_CHAN_5GHZ(ni->ni_chan) ? 12 : 4; + rate = IEEE80211_IS_CHAN_5GHZ(ni->ni_chan) ? 12 : 2; xfer = usbd_alloc_xfer(sc->sc_udev); if (xfer == NULL) @@ -1184,7 +1184,7 @@ ural_tx_mgt(struct ural_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) data = &sc->tx_data[0]; desc = (struct ural_tx_desc *)data->buf; - rate = IEEE80211_IS_CHAN_5GHZ(ni->ni_chan) ? 12 : 4; + rate = IEEE80211_IS_CHAN_5GHZ(ni->ni_chan) ? 12 : 2; data->m = m0; data->ni = ni; |