diff options
author | Karthik D A <karthida@marvell.com> | 2016-07-25 17:51:05 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-09-03 11:57:14 +0200 |
commit | e5988c62b9e6e5fb279188db916c51fdb5981403 (patch) | |
tree | ff315095d40d06306b6b4154ea5f342c0539d25e /drivers/net/wireless/marvell/mwifiex/debugfs.c | |
parent | mwifiex: Fixed endianness problem for big endian platform (diff) | |
download | linux-e5988c62b9e6e5fb279188db916c51fdb5981403.tar.xz linux-e5988c62b9e6e5fb279188db916c51fdb5981403.zip |
mwifiex: add region code information in debugfs
region code is an EEPROM setting received from firmware. Let's display
this in debugfs along with other information.
Signed-off-by: Karthik D A <karthida@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/debugfs.c')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/debugfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/debugfs.c b/drivers/net/wireless/marvell/mwifiex/debugfs.c index bccf17ad588e..b9284b533294 100644 --- a/drivers/net/wireless/marvell/mwifiex/debugfs.c +++ b/drivers/net/wireless/marvell/mwifiex/debugfs.c @@ -118,6 +118,8 @@ mwifiex_info_read(struct file *file, char __user *ubuf, p += sprintf(p, "bssid=\"%pM\"\n", info.bssid); p += sprintf(p, "channel=\"%d\"\n", (int) info.bss_chan); p += sprintf(p, "country_code = \"%s\"\n", info.country_code); + p += sprintf(p, "region_code=\"0x%x\"\n", + priv->adapter->region_code); netdev_for_each_mc_addr(ha, netdev) p += sprintf(p, "multicast_address[%d]=\"%pM\"\n", |