summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-10-27 18:05:26 +0000
committersam <sam@FreeBSD.org>2008-10-27 18:05:26 +0000
commit2c926ba9a74a1b032663913127b25382a704238f (patch)
tree2f62072646ca8a093397bb62afde64e9b70f1b96 /sys/dev/ath
parent548a877565d76b89d96569de6eff0d4c6b702d33 (diff)
downloadFreeBSD-src-2c926ba9a74a1b032663913127b25382a704238f.zip
FreeBSD-src-2c926ba9a74a1b032663913127b25382a704238f.tar.gz
prefer #define to naked constant
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 28a3420..80b8ea0 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -6243,7 +6243,7 @@ ath_setcurmode(struct ath_softc *sc, enum ieee80211_phymode mode)
sc->sc_hwmap[i].ieeerate =
rt->info[ix].dot11Rate & IEEE80211_RATE_VAL;
if (rt->info[ix].phy == IEEE80211_T_HT)
- sc->sc_hwmap[i].ieeerate |= 0x80; /* MCS */
+ sc->sc_hwmap[i].ieeerate |= IEEE80211_RATE_MCS;
sc->sc_hwmap[i].txflags = IEEE80211_RADIOTAP_F_DATAPAD;
if (rt->info[ix].shortPreamble ||
rt->info[ix].phy == IEEE80211_T_OFDM)
OpenPOWER on IntegriCloud