aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00debug.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.c b/drivers/net/wireless/rt2x00/rt2x00debug.c
index fe7a7f63a9ed..7f7baae5ae02 100644
--- a/drivers/net/wireless/rt2x00/rt2x00debug.c
+++ b/drivers/net/wireless/rt2x00/rt2x00debug.c
@@ -750,7 +750,7 @@ void rt2x00debug_register(struct rt2x00_dev *rt2x00dev)
750 intf, &rt2x00debug_fop_queue_stats); 750 intf, &rt2x00debug_fop_queue_stats);
751 751
752#ifdef CONFIG_RT2X00_LIB_CRYPTO 752#ifdef CONFIG_RT2X00_LIB_CRYPTO
753 if (test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags)) 753 if (rt2x00_has_cap_hw_crypto(rt2x00dev))
754 intf->crypto_stats_entry = 754 intf->crypto_stats_entry =
755 debugfs_create_file("crypto", S_IRUGO, intf->queue_folder, 755 debugfs_create_file("crypto", S_IRUGO, intf->queue_folder,
756 intf, &rt2x00debug_fop_crypto_stats); 756 intf, &rt2x00debug_fop_crypto_stats);