ath9k: General code scrub
[deliverable/linux.git] / drivers / net / wireless / ath9k / xmit.c
index b2d0cca6f4a6a687ca6178a0556a50a081f018f6..93317ce9ac8a7cfc59ce3fd45e3ba3aa7d62340b 100644 (file)
@@ -536,7 +536,7 @@ static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf)
         * just CTS.  Note that this is only done for OFDM/HT unicast frames.
         */
        if (sc->sc_protmode != PROT_M_NONE && !(bf->bf_flags & ATH9K_TXDESC_NOACK)
-           && (rt->info[rix].phy == WLAN_PHY_OFDM ||
+           && (rt->info[rix].phy == WLAN_RC_PHY_OFDM ||
                WLAN_RC_PHY_HT(rt->info[rix].phy))) {
                if (sc->sc_protmode == PROT_M_RTSCTS)
                        flags = ATH9K_TXDESC_RTSENA;
This page took 0.027097 seconds and 5 git commands to generate.