wl12xx: export scheduled scan state in debugfs
Add the sched_scanning value to the driver_status debugfs entry. Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:
@@ -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(platform_quirks);
|
||||||
DRIVER_STATE_PRINT_HEX(chip.id);
|
DRIVER_STATE_PRINT_HEX(chip.id);
|
||||||
DRIVER_STATE_PRINT_STR(chip.fw_ver_str);
|
DRIVER_STATE_PRINT_STR(chip.fw_ver_str);
|
||||||
|
DRIVER_STATE_PRINT_INT(sched_scanning);
|
||||||
|
|
||||||
#undef DRIVER_STATE_PRINT_INT
|
#undef DRIVER_STATE_PRINT_INT
|
||||||
#undef DRIVER_STATE_PRINT_LONG
|
#undef DRIVER_STATE_PRINT_LONG
|
||||||
|
Reference in New Issue
Block a user