Author: adrian
Date: Fri Aug 24 00:33:25 2012
New Revision: 239630
URL: http://svn.freebsd.org/changeset/base/239630

Log:
  Add the MFP capability to ath_hal_getcapability().
  
  Obtained from:        Qualcomm Atheros

Modified:
  head/sys/dev/ath/ath_hal/ah.c

Modified: head/sys/dev/ath/ath_hal/ah.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.c       Fri Aug 24 00:17:39 2012        
(r239629)
+++ head/sys/dev/ath/ath_hal/ah.c       Fri Aug 24 00:33:25 2012        
(r239630)
@@ -718,7 +718,9 @@ ath_hal_getcapability(struct ath_hal *ah
                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;
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to