diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 07:09:01 -0500 |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 07:09:01 -0500 |
commit | a6766ccdaf9cc80d565672516d429a562d1a732d (patch) | |
tree | d9a98acc6eef19ef41a7ef053117ba7df1c53324 /drivers/net/wireless/iwlegacy/iwl-debugfs.c | |
parent | 6bbb1370c3083190cae8487c2c61c0d24f869e68 (diff) |
iwlegacy: s/STATUS_/S_/
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-debugfs.c | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-debugfs.c b/drivers/net/wireless/iwlegacy/iwl-debugfs.c index 8448db7d8f39..114922bc83d2 100644 --- a/drivers/net/wireless/iwlegacy/iwl-debugfs.c +++ b/drivers/net/wireless/iwlegacy/iwl-debugfs.c | |||
@@ -402,7 +402,7 @@ il_dbgfs_channels_read(struct file *file, char __user *user_buf, | |||
402 | char *buf; | 402 | char *buf; |
403 | ssize_t ret; | 403 | ssize_t ret; |
404 | 404 | ||
405 | if (!test_bit(STATUS_GEO_CONFIGURED, &il->status)) | 405 | if (!test_bit(S_GEO_CONFIGURED, &il->status)) |
406 | return -EAGAIN; | 406 | return -EAGAIN; |
407 | 407 | ||
408 | buf = kzalloc(bufsz, GFP_KERNEL); | 408 | buf = kzalloc(bufsz, GFP_KERNEL); |
@@ -471,38 +471,38 @@ static ssize_t il_dbgfs_status_read(struct file *file, | |||
471 | int pos = 0; | 471 | int pos = 0; |
472 | const size_t bufsz = sizeof(buf); | 472 | const size_t bufsz = sizeof(buf); |
473 | 473 | ||
474 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_HCMD_ACTIVE:\t %d\n", | 474 | pos += scnprintf(buf + pos, bufsz - pos, "S_HCMD_ACTIVE:\t %d\n", |
475 | test_bit(STATUS_HCMD_ACTIVE, &il->status)); | 475 | test_bit(S_HCMD_ACTIVE, &il->status)); |
476 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_INT_ENABLED:\t %d\n", | 476 | pos += scnprintf(buf + pos, bufsz - pos, "S_INT_ENABLED:\t %d\n", |
477 | test_bit(STATUS_INT_ENABLED, &il->status)); | 477 | test_bit(S_INT_ENABLED, &il->status)); |
478 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_RF_KILL_HW:\t %d\n", | 478 | pos += scnprintf(buf + pos, bufsz - pos, "S_RF_KILL_HW:\t %d\n", |
479 | test_bit(STATUS_RF_KILL_HW, &il->status)); | 479 | test_bit(S_RF_KILL_HW, &il->status)); |
480 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_CT_KILL:\t\t %d\n", | 480 | pos += scnprintf(buf + pos, bufsz - pos, "S_CT_KILL:\t\t %d\n", |
481 | test_bit(STATUS_CT_KILL, &il->status)); | 481 | test_bit(S_CT_KILL, &il->status)); |
482 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_INIT:\t\t %d\n", | 482 | pos += scnprintf(buf + pos, bufsz - pos, "S_INIT:\t\t %d\n", |
483 | test_bit(STATUS_INIT, &il->status)); | 483 | test_bit(S_INIT, &il->status)); |
484 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_ALIVE:\t\t %d\n", | 484 | pos += scnprintf(buf + pos, bufsz - pos, "S_ALIVE:\t\t %d\n", |
485 | test_bit(STATUS_ALIVE, &il->status)); | 485 | test_bit(S_ALIVE, &il->status)); |
486 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_READY:\t\t %d\n", | 486 | pos += scnprintf(buf + pos, bufsz - pos, "S_READY:\t\t %d\n", |
487 | test_bit(STATUS_READY, &il->status)); | 487 | test_bit(S_READY, &il->status)); |
488 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_TEMPERATURE:\t %d\n", | 488 | pos += scnprintf(buf + pos, bufsz - pos, "S_TEMPERATURE:\t %d\n", |
489 | test_bit(STATUS_TEMPERATURE, &il->status)); | 489 | test_bit(S_TEMPERATURE, &il->status)); |
490 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_GEO_CONFIGURED:\t %d\n", | 490 | pos += scnprintf(buf + pos, bufsz - pos, "S_GEO_CONFIGURED:\t %d\n", |
491 | test_bit(STATUS_GEO_CONFIGURED, &il->status)); | 491 | test_bit(S_GEO_CONFIGURED, &il->status)); |
492 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_EXIT_PENDING:\t %d\n", | 492 | pos += scnprintf(buf + pos, bufsz - pos, "S_EXIT_PENDING:\t %d\n", |
493 | test_bit(STATUS_EXIT_PENDING, &il->status)); | 493 | test_bit(S_EXIT_PENDING, &il->status)); |
494 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_STATISTICS:\t %d\n", | 494 | pos += scnprintf(buf + pos, bufsz - pos, "S_STATISTICS:\t %d\n", |
495 | test_bit(STATUS_STATISTICS, &il->status)); | 495 | test_bit(S_STATISTICS, &il->status)); |
496 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_SCANNING:\t %d\n", | 496 | pos += scnprintf(buf + pos, bufsz - pos, "S_SCANNING:\t %d\n", |
497 | test_bit(STATUS_SCANNING, &il->status)); | 497 | test_bit(S_SCANNING, &il->status)); |
498 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_SCAN_ABORTING:\t %d\n", | 498 | pos += scnprintf(buf + pos, bufsz - pos, "S_SCAN_ABORTING:\t %d\n", |
499 | test_bit(STATUS_SCAN_ABORTING, &il->status)); | 499 | test_bit(S_SCAN_ABORTING, &il->status)); |
500 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_SCAN_HW:\t\t %d\n", | 500 | pos += scnprintf(buf + pos, bufsz - pos, "S_SCAN_HW:\t\t %d\n", |
501 | test_bit(STATUS_SCAN_HW, &il->status)); | 501 | test_bit(S_SCAN_HW, &il->status)); |
502 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_POWER_PMI:\t %d\n", | 502 | pos += scnprintf(buf + pos, bufsz - pos, "S_POWER_PMI:\t %d\n", |
503 | test_bit(STATUS_POWER_PMI, &il->status)); | 503 | test_bit(S_POWER_PMI, &il->status)); |
504 | pos += scnprintf(buf + pos, bufsz - pos, "STATUS_FW_ERROR:\t %d\n", | 504 | pos += scnprintf(buf + pos, bufsz - pos, "S_FW_ERROR:\t %d\n", |
505 | test_bit(STATUS_FW_ERROR, &il->status)); | 505 | test_bit(S_FW_ERROR, &il->status)); |
506 | return simple_read_from_buffer(user_buf, count, ppos, buf, pos); | 506 | return simple_read_from_buffer(user_buf, count, ppos, buf, pos); |
507 | } | 507 | } |
508 | 508 | ||