Fix numerous "FAILED verification" messages on AR5210 and AR5211

Only call ath_hal_verify_default_intmit() if interference mitigation is
supported by the chipset.


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4124 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2010-03-23 04:26:37 +00:00
parent 6b7b69cb37
commit 5e195288a9

View File

@ -1680,6 +1680,7 @@ static inline void ath_override_intmit_if_disabled(struct ath_softc *sc)
ath_hal_restore_default_intmit(sc->sc_ah);
/* Sanity check... remove later. */
if (!sc->sc_useintmit) {
if (sc->sc_hasintmit)
ath_hal_verify_default_intmit(sc->sc_ah);
/* If we don't have int. mit. and we don't have DFS on channel,
* it is safe to filter error packets. */