Remove gratuitous double negation of ath_hal_hasdiversity() result

Reported by N.Leiten <nickleiten@gmail.com>


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4128 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2010-03-24 14:07:47 +00:00
parent 9b4885513b
commit 234a985259
1 changed files with 1 additions and 1 deletions

View 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);