Date: Mon, 27 Oct 2008 18:05:26 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184366 - head/sys/dev/ath Message-ID: <200810271805.m9RI5Q4d048006@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Mon Oct 27 18:05:26 2008 New Revision: 184366 URL: http://svn.freebsd.org/changeset/base/184366 Log: prefer #define to naked constant Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Mon Oct 27 18:02:47 2008 (r184365) +++ head/sys/dev/ath/if_ath.c Mon Oct 27 18:05:26 2008 (r184366) @@ -6243,7 +6243,7 @@ ath_setcurmode(struct ath_softc *sc, enu 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810271805.m9RI5Q4d048006>