]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
wl12xx: export scheduled scan state in debugfs
authorLuciano Coelho <coelho@ti.com>
Tue, 10 May 2011 11:47:45 +0000 (14:47 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 May 2011 21:06:33 +0000 (00:06 +0300)
Add the sched_scanning value to the driver_status debugfs entry.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/debugfs.c

index b2f692babed7eeaf8972fa9b29839b4402d06329..f1f8df9b6cd73905c7df330e379441160da09aa9 100644 (file)
@@ -377,6 +377,7 @@ static ssize_t driver_state_read(struct file *file, char __user *user_buf,
        DRIVER_STATE_PRINT_HEX(platform_quirks);
        DRIVER_STATE_PRINT_HEX(chip.id);
        DRIVER_STATE_PRINT_STR(chip.fw_ver_str);
+       DRIVER_STATE_PRINT_INT(sched_scanning);
 
 #undef DRIVER_STATE_PRINT_INT
 #undef DRIVER_STATE_PRINT_LONG