Correctly populate the RTS field.
Tested: * AR5210, STA mode, RTS enabled
This commit is contained in:
parent
3a4d0022de
commit
875d039e0a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user