Add the MFP capability to ath_hal_getcapability().

Obtained from:	Qualcomm Atheros
This commit is contained in:
Adrian Chadd 2012-08-24 00:33:25 +00:00
parent 9f24e32b4a
commit b042e6a3e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239630

View File

@ -718,7 +718,9 @@ ath_hal_getcapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type,
return pCap->halHasBBReadWar? HAL_OK : HAL_ENOTSUPP;
case HAL_CAP_SERIALISE_WAR: /* PCI register serialisation */
return pCap->halSerialiseRegWar ? HAL_OK : HAL_ENOTSUPP;
case HAL_CAP_MFP: /* Management frame protection setting */
*result = pCap->halMfpSupport;
return HAL_OK;
default:
return HAL_EINVAL;
}