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>
This commit is contained in:
parent
c4830de394
commit
b2edeea7fb
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user