diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-11-04 12:32:40 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-04 18:44:50 -0500 |
commit | 77dba493618b5b5c84c9e375b6e3d51862ca7408 (patch) | |
tree | 52b1349bc06571d1ab4081c86c2e6280566e72aa | |
parent | 8807bb8cddbeb5b48bd9c6e40396af07980c7cdf (diff) |
rt2800pci: fix comment about IV/EIV fields
The bit tested by hardware is TXD_W3_WIV and its value
equals the negated value of ENTRY_TXD_ENCRYPT_IV bit.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index e4a1a858a2fd..5d3c48b9f5cc 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -2206,8 +2206,8 @@ static void rt2800pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
2206 | 2206 | ||
2207 | /* | 2207 | /* |
2208 | * Always write 0 to IV/EIV fields, hardware will insert the IV | 2208 | * Always write 0 to IV/EIV fields, hardware will insert the IV |
2209 | * from the IVEIV register when ENTRY_TXD_ENCRYPT_IV is set to 0. | 2209 | * from the IVEIV register when TXD_W3_WIV is set to 0. |
2210 | * When ENTRY_TXD_ENCRYPT_IV is set to 1 it will use the IV data | 2210 | * When TXD_W3_WIV is set to 1 it will use the IV data |
2211 | * from the descriptor. The TXWI_W1_WIRELESS_CLI_ID indicates which | 2211 | * from the descriptor. The TXWI_W1_WIRELESS_CLI_ID indicates which |
2212 | * crypto entry in the registers should be used to encrypt the frame. | 2212 | * crypto entry in the registers should be used to encrypt the frame. |
2213 | */ | 2213 | */ |