diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2005-07-22 16:50:18 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2005-07-22 16:50:18 +0000 |
| commit | 2c39b32c9439c191bdc67411f3fee3e77e82fe32 (patch) | |
| tree | fca8cfc4073f63287b1f51121bcf1c74ccdcdeb7 /sys/dev/usb | |
| parent | af8d224ec0cda6ccf38f94f508afcea6065d0aeb (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/if_ural.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c index b09cb4a8745e3..239dc22ec1c92 100644 --- a/sys/dev/usb/if_ural.c +++ b/sys/dev/usb/if_ural.c @@ -1195,7 +1195,7 @@ ural_tx_data(struct ural_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) wh = mtod(m0, struct ieee80211_frame *); /* XXX should do automatic rate adaptation */ - if (ic->ic_fixed_rate != -1) + if (ic->ic_fixed_rate != IEEE80211_FIXED_RATE_NONE) rate = ic->ic_bss->ni_rates.rs_rates[ic->ic_fixed_rate]; else rate = ni->ni_rates.rs_rates[ni->ni_txrate]; |
