summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/at76c50x-usb.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2011-03-07 20:14:23 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-03-09 22:10:56 +0100
commit80751e2b8ffcbbe065e850d943301aa1ab219599 (patch)
tree454176f57e0765986809009c71076ff483160ce4 /drivers/net/wireless/at76c50x-usb.h
parentmwl8k: use kcalloc instead of kmalloc & memset (diff)
downloadlinux-80751e2b8ffcbbe065e850d943301aa1ab219599.tar.xz
linux-80751e2b8ffcbbe065e850d943301aa1ab219599.zip
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/at76c50x-usb.h')
-rw-r--r--drivers/net/wireless/at76c50x-usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.h b/drivers/net/wireless/at76c50x-usb.h
index 4a37447dfc01..f14a65473fe8 100644
--- a/drivers/net/wireless/at76c50x-usb.h
+++ b/drivers/net/wireless/at76c50x-usb.h
@@ -290,7 +290,7 @@ struct mib_mac_mgmt {
u8 res;
u8 multi_domain_capability_implemented;
u8 multi_domain_capability_enabled;
- u8 country_string[3];
+ u8 country_string[IEEE80211_COUNTRY_STRING_LEN];
u8 reserved[3];
} __packed;