mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
Revert r228786. We'll need to work around the warnings in another way.
Requested by: adrian MFC after: 1 week
This commit is contained in:
parent
a6c1d38f59
commit
38d3d227ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228800
|
@ -574,7 +574,7 @@ ar5212SetDecompMask(struct ath_hal *ah, uint16_t keyidx, int en)
|
|||
struct ath_hal_5212 *ahp = AH5212(ah);
|
||||
|
||||
if (keyidx >= HAL_DECOMP_MASK_SIZE)
|
||||
return AH_FALSE;
|
||||
return HAL_EINVAL;
|
||||
OS_REG_WRITE(ah, AR_DCM_A, keyidx);
|
||||
OS_REG_WRITE(ah, AR_DCM_D, en ? AR_DCM_D_EN : 0);
|
||||
ahp->ah_decompMask[keyidx] = en;
|
||||
|
|
|
@ -161,7 +161,7 @@ ar5416SetAntennaSwitch(struct ath_hal *ah, HAL_ANT_SETTING settings)
|
|||
HAL_BOOL
|
||||
ar5416SetDecompMask(struct ath_hal *ah, uint16_t keyidx, int en)
|
||||
{
|
||||
return AH_TRUE;
|
||||
return HAL_OK;
|
||||
}
|
||||
|
||||
/* Setup coverage class */
|
||||
|
|
Loading…
Reference in a new issue