replace r/w idiom with OS_REG_SET_BIT (to match other code)

This commit is contained in:
sam 2009-02-05 20:48:30 +00:00
parent 0129b996aa
commit 1434b839c9

View File

@ -990,9 +990,8 @@ ar5212PerCalibrationN(struct ath_hal *ah,
if (powerMeasI && powerMeasQ)
break;
/* Do we really need this??? */
OS_REG_WRITE (ah, AR_PHY_TIMING_CTRL4,
OS_REG_READ(ah, AR_PHY_TIMING_CTRL4) |
AR_PHY_TIMING_CTRL4_DO_IQCAL);
OS_REG_SET_BIT(ah, AR_PHY_TIMING_CTRL4,
AR_PHY_TIMING_CTRL4_DO_IQCAL);
} while (++i < IQ_CAL_TRIES);
/*