diff options
-rw-r--r-- | drivers/net/wireless/libertas/defs.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 8 |
3 files changed, 8 insertions, 10 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index 51050cf736b..cd95977cf89 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h | |||
@@ -205,8 +205,6 @@ typedef struct _wlan_adapter wlan_adapter; | |||
205 | extern const char libertas_driver_version[]; | 205 | extern const char libertas_driver_version[]; |
206 | extern u16 libertas_region_code_to_index[MRVDRV_MAX_REGION_CODE]; | 206 | extern u16 libertas_region_code_to_index[MRVDRV_MAX_REGION_CODE]; |
207 | 207 | ||
208 | extern u8 libertas_wlan_data_rates[WLAN_SUPPORTED_RATES]; | ||
209 | |||
210 | extern u8 libertas_supported_rates[G_SUPPORTED_RATES]; | 208 | extern u8 libertas_supported_rates[G_SUPPORTED_RATES]; |
211 | 209 | ||
212 | extern u8 libertas_adhoc_rates_g[G_SUPPORTED_RATES]; | 210 | extern u8 libertas_adhoc_rates_g[G_SUPPORTED_RATES]; |
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index c407f234013..6bf162a107b 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -142,14 +142,6 @@ static struct region_cfp_table region_cfp_table[] = { | |||
142 | }; | 142 | }; |
143 | 143 | ||
144 | /** | 144 | /** |
145 | * the rates supported by the card | ||
146 | */ | ||
147 | u8 libertas_wlan_data_rates[WLAN_SUPPORTED_RATES] = | ||
148 | { 0x02, 0x04, 0x0B, 0x16, 0x00, 0x0C, 0x12, | ||
149 | 0x18, 0x24, 0x30, 0x48, 0x60, 0x6C, 0x00 | ||
150 | }; | ||
151 | |||
152 | /** | ||
153 | * the rates supported | 145 | * the rates supported |
154 | */ | 146 | */ |
155 | u8 libertas_supported_rates[G_SUPPORTED_RATES] = | 147 | u8 libertas_supported_rates[G_SUPPORTED_RATES] = |
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 69f52b6e59c..408bc0aa956 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -22,6 +22,14 @@ | |||
22 | 22 | ||
23 | 23 | ||
24 | /** | 24 | /** |
25 | * the rates supported by the card | ||
26 | */ | ||
27 | static u8 libertas_wlan_data_rates[WLAN_SUPPORTED_RATES] = | ||
28 | { 0x02, 0x04, 0x0B, 0x16, 0x00, 0x0C, 0x12, | ||
29 | 0x18, 0x24, 0x30, 0x48, 0x60, 0x6C, 0x00 | ||
30 | }; | ||
31 | |||
32 | /** | ||
25 | * @brief Convert mw value to dbm value | 33 | * @brief Convert mw value to dbm value |
26 | * | 34 | * |
27 | * @param mw the value of mw | 35 | * @param mw the value of mw |