aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/ioctl.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-04-09 23:06:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 15:10:29 -0400
commit5e218b7ab86ed6eb3d1432146c49cbb8733414d0 (patch)
treea1d0601fb31d7d9fd22ad023023e667552e81e6b /drivers/net/wireless/mwifiex/ioctl.h
parent9e04a7c6d45fd70be55fcb48ec49f55dad9928f7 (diff)
mwifiex: display correct country information in debugfs "info"
Use "priv->country_code" string to display country information in debugfs command "info" instead of "adapter->region_code". "adapter->region_code" contains default region code got from FW while initialization, whereas "priv->country_code" is updated in reg_notifier handler whenever there is a change in regulatory domain. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/ioctl.h')
-rw-r--r--drivers/net/wireless/mwifiex/ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/ioctl.h b/drivers/net/wireless/mwifiex/ioctl.h
index 99c06649f94c..887a7d975d24 100644
--- a/drivers/net/wireless/mwifiex/ioctl.h
+++ b/drivers/net/wireless/mwifiex/ioctl.h
@@ -96,7 +96,7 @@ struct mwifiex_bss_info {
96 u32 bss_mode; 96 u32 bss_mode;
97 struct cfg80211_ssid ssid; 97 struct cfg80211_ssid ssid;
98 u32 bss_chan; 98 u32 bss_chan;
99 u32 region_code; 99 u8 country_code[3];
100 u32 media_connected; 100 u32 media_connected;
101 u32 max_power_level; 101 u32 max_power_level;
102 u32 min_power_level; 102 u32 min_power_level;