diff options
author | Bing Zhao <bzhao@marvell.com> | 2011-03-07 20:14:23 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-09 22:10:56 +0100 |
commit | 80751e2b8ffcbbe065e850d943301aa1ab219599 (patch) | |
tree | 454176f57e0765986809009c71076ff483160ce4 /drivers/net/wireless/libertas/host.h | |
parent | mwl8k: use kcalloc instead of kmalloc & memset (diff) | |
download | linux-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/libertas/host.h')
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index 5eac1351a021..6cb6935ee4a3 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h @@ -387,7 +387,7 @@ struct lbs_offset_value { struct mrvl_ie_domain_param_set { struct mrvl_ie_header header; - u8 country_code[3]; + u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; struct ieee80211_country_ie_triplet triplet[MAX_11D_TRIPLETS]; } __packed; |