diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:59:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:40 -0500 |
commit | 076f9582a6b82e54339ee815130315744b730787 (patch) | |
tree | a000f26561a903f6cfcebe95a99182ab22b6fc2a /drivers/net/wireless/rt2x00/rt73usb.c | |
parent | 7b40982e235d6ff9343d38703eb48a0143afcc26 (diff) |
rt2x00: Remove ENTRY_TXD_OFDM_RATE
The flag ENTRY_TXD_OFDM_RATE isn't flexible enough
to indicate which rate modulation should be used for
a frame. This will become a problem when 11n support
is added.
Remove the flag and replace it with an enum value which
can better indicate the exact rate modulation.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index c2658108d9c3..2b70c01b55e9 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1498,7 +1498,7 @@ static void rt73usb_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
1498 | rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, | 1498 | rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, |
1499 | test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); | 1499 | test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); |
1500 | rt2x00_set_field32(&word, TXD_W0_OFDM, | 1500 | rt2x00_set_field32(&word, TXD_W0_OFDM, |
1501 | test_bit(ENTRY_TXD_OFDM_RATE, &txdesc->flags)); | 1501 | (txdesc->rate_mode == RATE_MODE_OFDM)); |
1502 | rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); | 1502 | rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); |
1503 | rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, | 1503 | rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, |
1504 | test_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags)); | 1504 | test_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags)); |