mirror of
https://github.com/torvalds/linux.git
synced 2026-04-29 03:52:30 -04:00
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>
This commit is contained in:
committed by
John W. Linville
parent
b9ede5f1dc
commit
80751e2b8f
@@ -54,7 +54,6 @@
|
||||
|
||||
/* This really should be 8, but not for our firmware */
|
||||
#define MAX_SUPPORTED_RATES 32
|
||||
#define COUNTRY_STRING_LEN 3
|
||||
#define MAX_COUNTRY_TRIPLETS 32
|
||||
|
||||
/* Headers */
|
||||
@@ -98,7 +97,7 @@ struct country_triplet {
|
||||
|
||||
struct wl12xx_ie_country {
|
||||
struct wl12xx_ie_header header;
|
||||
u8 country_string[COUNTRY_STRING_LEN];
|
||||
u8 country_string[IEEE80211_COUNTRY_STRING_LEN];
|
||||
struct country_triplet triplets[MAX_COUNTRY_TRIPLETS];
|
||||
} __packed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user