aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00queue.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-12-20 04:56:36 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:58:37 -0500
commit3f787bd6d596ff56625f440910944ef6f937af8d (patch)
treed6e733e2d16df8819ba352ab7f5e5d2a38620354 /drivers/net/wireless/rt2x00/rt2x00queue.c
parent7396faf4f3228b88c6c815c7a93081b456716d5f (diff)
rt2x00: Rename CONFIG_CRYPTO_COPY_IV
CONFIG_CRYPTO_COPY_IV is a bad name since it is part of the driver requirements instead of a configuration option. 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/rt2x00queue.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c
index 0709decec9c2..01125563aba3 100644
--- a/drivers/net/wireless/rt2x00/rt2x00queue.c
+++ b/drivers/net/wireless/rt2x00/rt2x00queue.c
@@ -403,7 +403,7 @@ int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb)
403 */ 403 */
404 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc.flags) && 404 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc.flags) &&
405 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc.flags)) { 405 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc.flags)) {
406 if (test_bit(CONFIG_CRYPTO_COPY_IV, &queue->rt2x00dev->flags)) 406 if (test_bit(DRIVER_REQUIRE_COPY_IV, &queue->rt2x00dev->flags))
407 rt2x00crypto_tx_copy_iv(skb, iv_len); 407 rt2x00crypto_tx_copy_iv(skb, iv_len);
408 else 408 else
409 rt2x00crypto_tx_remove_iv(skb, iv_len); 409 rt2x00crypto_tx_remove_iv(skb, iv_len);