diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00config.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index 1059b4d1868f..7c62ce125b94 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -92,8 +92,8 @@ void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev, | |||
92 | erp.difs = bss_conf->use_short_slot ? SHORT_DIFS : DIFS; | 92 | erp.difs = bss_conf->use_short_slot ? SHORT_DIFS : DIFS; |
93 | erp.eifs = bss_conf->use_short_slot ? SHORT_EIFS : EIFS; | 93 | erp.eifs = bss_conf->use_short_slot ? SHORT_EIFS : EIFS; |
94 | 94 | ||
95 | erp.ack_timeout = PLCP + erp.difs + get_duration(ACK_SIZE, 10); | 95 | erp.ack_timeout = PLCP + erp.difs + GET_DURATION(ACK_SIZE, 10); |
96 | erp.ack_consume_time = SIFS + PLCP + get_duration(ACK_SIZE, 10); | 96 | erp.ack_consume_time = SIFS + PLCP + GET_DURATION(ACK_SIZE, 10); |
97 | 97 | ||
98 | if (bss_conf->use_short_preamble) { | 98 | if (bss_conf->use_short_preamble) { |
99 | erp.ack_timeout += SHORT_PREAMBLE; | 99 | erp.ack_timeout += SHORT_PREAMBLE; |