summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-01-21 02:53:00 +0000
committersam <sam@FreeBSD.org>2009-01-21 02:53:00 +0000
commit48be47ddbcdf20ebb6e51798a78ac0707dc19ed3 (patch)
tree6d90aa52e04ffcfbd1564e976056b4c9b2f66edd /sys
parent36a4d5f97544df147bc5680c572cff2194d23bdd (diff)
downloadFreeBSD-src-48be47ddbcdf20ebb6e51798a78ac0707dc19ed3.zip
FreeBSD-src-48be47ddbcdf20ebb6e51798a78ac0707dc19ed3.tar.gz
correct typo that left programmed sifs time in the slot time
(to be applied on subsequent resets) Submitted by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ath/ath_hal/ar5211/ar5211_misc.c4
-rw-r--r--sys/dev/ath/ath_hal/ar5212/ar5212_misc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c b/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c
index 5197212..b16b4b8 100644
--- a/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c
+++ b/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c
@@ -14,7 +14,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: ar5211_misc.c,v 1.7 2008/11/27 22:29:52 sam Exp $
+ * $FreeBSD$
*/
#include "opt_ah.h"
@@ -432,7 +432,7 @@ ar5211SetSifsTime(struct ath_hal *ah, u_int us)
} else {
/* convert to system clocks */
OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us));
- ahp->ah_slottime = us;
+ ahp->ah_sifstime = us;
return AH_TRUE;
}
}
diff --git a/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c b/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c
index 637f94e..fa4f1ab 100644
--- a/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c
+++ b/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c
@@ -453,7 +453,7 @@ ar5212SetSifsTime(struct ath_hal *ah, u_int us)
} else {
/* convert to system clocks */
OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us));
- ahp->ah_slottime = us;
+ ahp->ah_sifstime = us;
return AH_TRUE;
}
}
OpenPOWER on IntegriCloud