summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/debugfs.c
diff options
context:
space:
mode:
authorYair Shapira <yair.shapira@ti.com>2012-08-07 17:38:21 +0300
committerLuciano Coelho <luca@coelho.fi>2012-09-27 12:13:52 +0300
commit1defbeb0426b5ca6280369b8fa89f0170420ff40 (patch)
tree5409bfbea6435d52a673d23e9217a89aceb971f2 /drivers/net/wireless/ti/wlcore/debugfs.c
parent61932ba59f5278e3f0c9fbded1a1af39ef89333f (diff)
downloadlinux-1defbeb0426b5ca6280369b8fa89f0170420ff40.tar.bz2
wlcore/wl18xx: add phy_fw_version_str to debugfs driver_state
add phy_fw_version_str to debugfs driver_state file. information is taken during boot and stored in wl->chip.phy_fw_ver_str. Signed-off-by: Yair Shapira <yair.shapira@ti.com> Signed-off-by: Luciano Coelho <luca@coelho.fi>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/debugfs.c')
-rw-r--r--drivers/net/wireless/ti/wlcore/debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/debugfs.c b/drivers/net/wireless/ti/wlcore/debugfs.c
index 3b7e0e817984..3d39784d639b 100644
--- a/drivers/net/wireless/ti/wlcore/debugfs.c
+++ b/drivers/net/wireless/ti/wlcore/debugfs.c
@@ -489,6 +489,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_STR(chip.phy_fw_ver_str);
DRIVER_STATE_PRINT_INT(sched_scanning);
#undef DRIVER_STATE_PRINT_INT