diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:56:36 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:37 -0500 |
commit | 3f787bd6d596ff56625f440910944ef6f937af8d (patch) | |
tree | d6e733e2d16df8819ba352ab7f5e5d2a38620354 /drivers | |
parent | 7396faf4f3228b88c6c815c7a93081b456716d5f (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')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 01e5584d8f77..7b97160e2b5a 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1888,7 +1888,7 @@ static int rt2500usb_probe_hw(struct rt2x00_dev *rt2x00dev) | |||
1888 | __set_bit(DRIVER_REQUIRE_SCHEDULED, &rt2x00dev->flags); | 1888 | __set_bit(DRIVER_REQUIRE_SCHEDULED, &rt2x00dev->flags); |
1889 | if (!modparam_nohwcrypt) { | 1889 | if (!modparam_nohwcrypt) { |
1890 | __set_bit(CONFIG_SUPPORT_HW_CRYPTO, &rt2x00dev->flags); | 1890 | __set_bit(CONFIG_SUPPORT_HW_CRYPTO, &rt2x00dev->flags); |
1891 | __set_bit(CONFIG_CRYPTO_COPY_IV, &rt2x00dev->flags); | 1891 | __set_bit(DRIVER_REQUIRE_COPY_IV, &rt2x00dev->flags); |
1892 | } | 1892 | } |
1893 | __set_bit(CONFIG_DISABLE_LINK_TUNING, &rt2x00dev->flags); | 1893 | __set_bit(CONFIG_DISABLE_LINK_TUNING, &rt2x00dev->flags); |
1894 | 1894 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index dea502234cf8..1612a9cf4d7b 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -586,6 +586,7 @@ enum rt2x00_flags { | |||
586 | DRIVER_REQUIRE_ATIM_QUEUE, | 586 | DRIVER_REQUIRE_ATIM_QUEUE, |
587 | DRIVER_REQUIRE_SCHEDULED, | 587 | DRIVER_REQUIRE_SCHEDULED, |
588 | DRIVER_REQUIRE_DMA, | 588 | DRIVER_REQUIRE_DMA, |
589 | DRIVER_REQUIRE_COPY_IV, | ||
589 | 590 | ||
590 | /* | 591 | /* |
591 | * Driver features | 592 | * Driver features |
@@ -602,7 +603,6 @@ enum rt2x00_flags { | |||
602 | CONFIG_EXTERNAL_LNA_BG, | 603 | CONFIG_EXTERNAL_LNA_BG, |
603 | CONFIG_DOUBLE_ANTENNA, | 604 | CONFIG_DOUBLE_ANTENNA, |
604 | CONFIG_DISABLE_LINK_TUNING, | 605 | CONFIG_DISABLE_LINK_TUNING, |
605 | CONFIG_CRYPTO_COPY_IV, | ||
606 | }; | 606 | }; |
607 | 607 | ||
608 | /* | 608 | /* |
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); |