Remove gratuitous double negation of ath_hal_hasdiversity() result
[madwifi/.git] / ath / if_ath.c
index 68db5ae90f861647a716a7c6c7ad996c098ff0ed..5adcf0fe0cef070760a0fefc0e588b18c8ce1bc4 100644 (file)
@@ -1029,7 +1029,7 @@ ath_attach(u_int16_t devid, struct net_device *dev, HAL_BUS_TAG tag)
 
        /* Query the HAL about antenna support
         * Enable RX fast diversity if HAL has support. */
-       sc->sc_hasdiversity = sc->sc_diversity = !!ath_hal_hasdiversity(ah);
+       sc->sc_hasdiversity = sc->sc_diversity = ath_hal_hasdiversity(ah);
        ath_hal_setdiversity(ah, sc->sc_diversity);
 
        sc->sc_rxantenna = ath_hal_getdefantenna(ah);