summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c')
-rw-r--r--sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c b/sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c
index b749837..d376996 100644
--- a/sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c
+++ b/sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c
@@ -518,7 +518,8 @@ ar5210SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds,
ads->ds_ctl1 = 0;
if (flags & HAL_TXDESC_RTSENA) {
ads->ds_ctl0 |= AR_RTSCTSEnable;
- ads->ds_ctl1 |= rtsctsDuration & AR_RTSDuration;
+ ads->ds_ctl1 |= (rtsctsDuration << AR_RTSDuration_S)
+ & AR_RTSDuration;
}
return AH_TRUE;
}
OpenPOWER on IntegriCloud