diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-11-04 12:32:24 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-04 18:44:49 -0500 |
commit | f644fea1a8433f65f78a36cd7b23b8f57b0f77e4 (patch) | |
tree | c65689b67ecbbaf13d601c0380f28e801f3c488a /drivers/net/wireless/rt2x00/rt2800pci.c | |
parent | a8ea2b23f62e23c2afac291f9caa500bd1a60618 (diff) |
rt2800pci: fix crypto in TX frame
Based on rt2800usb patch from Benoit PAPILLAULT
(commit 17616310836ad2cc45a64576ef0e1520b0dcc81b).
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>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index be81788b80c7..5b3f40356c64 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -2195,7 +2195,7 @@ static void rt2800pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
2195 | rt2x00_set_field32(&word, TXWI_W1_BW_WIN_SIZE, txdesc->ba_size); | 2195 | rt2x00_set_field32(&word, TXWI_W1_BW_WIN_SIZE, txdesc->ba_size); |
2196 | rt2x00_set_field32(&word, TXWI_W1_WIRELESS_CLI_ID, | 2196 | rt2x00_set_field32(&word, TXWI_W1_WIRELESS_CLI_ID, |
2197 | test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags) ? | 2197 | test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags) ? |
2198 | (skbdesc->entry->entry_idx + 1) : 0xff); | 2198 | txdesc->key_idx : 0xff); |
2199 | rt2x00_set_field32(&word, TXWI_W1_MPDU_TOTAL_BYTE_COUNT, | 2199 | rt2x00_set_field32(&word, TXWI_W1_MPDU_TOTAL_BYTE_COUNT, |
2200 | skb->len - txdesc->l2pad); | 2200 | skb->len - txdesc->l2pad); |
2201 | rt2x00_set_field32(&word, TXWI_W1_PACKETID, | 2201 | rt2x00_set_field32(&word, TXWI_W1_PACKETID, |