summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ipw2x00/ipw2200.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2011-03-07 22:14:23 +0300
committerJohn W. Linville <linville@tuxdriver.com>2011-03-10 00:10:56 +0300
commit80751e2b8ffcbbe065e850d943301aa1ab219599 (patch)
tree454176f57e0765986809009c71076ff483160ce4 /drivers/net/wireless/ipw2x00/ipw2200.h
parentb9ede5f1dc03f96949dcaa8f8b3483766c047260 (diff)
downloadlinux-80751e2b8ffcbbe065e850d943301aa1ab219599.tar.xz
ieee80211: add IEEE80211_COUNTRY_STRING_LEN definition
and make use of it in wireless drivers Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.h')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.h b/drivers/net/wireless/ipw2x00/ipw2200.h
index d7d049c7a4fa..d9e1d9bad581 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.h
+++ b/drivers/net/wireless/ipw2x00/ipw2200.h
@@ -961,7 +961,7 @@ struct ipw_country_channel_info {
struct ipw_country_info {
u8 id;
u8 length;
- u8 country_str[3];
+ u8 country_str[IEEE80211_COUNTRY_STRING_LEN];
struct ipw_country_channel_info groups[7];
} __packed;