diff options
Diffstat (limited to 'drivers/net/wireless/wl1251/wl12xx_80211.h')
-rw-r--r-- | drivers/net/wireless/wl1251/wl12xx_80211.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl1251/wl12xx_80211.h b/drivers/net/wireless/wl1251/wl12xx_80211.h index 184628027213..1417b1445c3d 100644 --- a/drivers/net/wireless/wl1251/wl12xx_80211.h +++ b/drivers/net/wireless/wl1251/wl12xx_80211.h | |||
@@ -54,7 +54,6 @@ | |||
54 | 54 | ||
55 | /* This really should be 8, but not for our firmware */ | 55 | /* This really should be 8, but not for our firmware */ |
56 | #define MAX_SUPPORTED_RATES 32 | 56 | #define MAX_SUPPORTED_RATES 32 |
57 | #define COUNTRY_STRING_LEN 3 | ||
58 | #define MAX_COUNTRY_TRIPLETS 32 | 57 | #define MAX_COUNTRY_TRIPLETS 32 |
59 | 58 | ||
60 | /* Headers */ | 59 | /* Headers */ |
@@ -98,7 +97,7 @@ struct country_triplet { | |||
98 | 97 | ||
99 | struct wl12xx_ie_country { | 98 | struct wl12xx_ie_country { |
100 | struct wl12xx_ie_header header; | 99 | struct wl12xx_ie_header header; |
101 | u8 country_string[COUNTRY_STRING_LEN]; | 100 | u8 country_string[IEEE80211_COUNTRY_STRING_LEN]; |
102 | struct country_triplet triplets[MAX_COUNTRY_TRIPLETS]; | 101 | struct country_triplet triplets[MAX_COUNTRY_TRIPLETS]; |
103 | } __packed; | 102 | } __packed; |
104 | 103 | ||