Message ID | 1455531872-1335-1-git-send-email-ike.pan@canonical.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 1b39074d..6e47f0f 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -226,6 +226,8 @@ static int debugfs_status_show(struct seq_file *s, void *data) seq_printf(s, "BL power value:\t%s\n", value ? "On" : "Off"); seq_printf(s, "=====================\n"); + seq_printf(s, "Has RF switch:\t%s\n", + priv->has_hw_rfkill_switch ? "Yes" : "No"); if (!read_ec_data(priv->adev->handle, VPCCMD_R_RF, &value)) seq_printf(s, "Radio status:\t%s(%lu)\n", value ? "On" : "Off", value);
It will be easier for user to report driver status about hardware radio switch. Signed-off-by: Ike Panhc <ike.pan@canonical.com> --- drivers/platform/x86/ideapad-laptop.c | 2 ++ 1 file changed, 2 insertions(+)