diff options
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r-- | drivers/net/wireless/airo.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 924ed095dd99..5a56502c4eb0 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -217,7 +217,6 @@ static const char *statsLabels[] = { | |||
217 | (no spaces) list of rates (up to 8). */ | 217 | (no spaces) list of rates (up to 8). */ |
218 | 218 | ||
219 | static int rates[8]; | 219 | static int rates[8]; |
220 | static int basic_rate; | ||
221 | static char *ssids[3]; | 220 | static char *ssids[3]; |
222 | 221 | ||
223 | static int io[4]; | 222 | static int io[4]; |
@@ -250,7 +249,6 @@ MODULE_LICENSE("Dual BSD/GPL"); | |||
250 | MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340/350"); | 249 | MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340/350"); |
251 | module_param_array(io, int, NULL, 0); | 250 | module_param_array(io, int, NULL, 0); |
252 | module_param_array(irq, int, NULL, 0); | 251 | module_param_array(irq, int, NULL, 0); |
253 | module_param(basic_rate, int, 0); | ||
254 | module_param_array(rates, int, NULL, 0); | 252 | module_param_array(rates, int, NULL, 0); |
255 | module_param_array(ssids, charp, NULL, 0); | 253 | module_param_array(ssids, charp, NULL, 0); |
256 | module_param(auto_wep, int, 0); | 254 | module_param(auto_wep, int, 0); |
@@ -3883,15 +3881,6 @@ static u16 setup_card(struct airo_info *ai, u8 *mac, int lock) | |||
3883 | ai->config.rates[i] = rates[i]; | 3881 | ai->config.rates[i] = rates[i]; |
3884 | } | 3882 | } |
3885 | } | 3883 | } |
3886 | if ( basic_rate > 0 ) { | ||
3887 | for( i = 0; i < 8; i++ ) { | ||
3888 | if ( ai->config.rates[i] == basic_rate || | ||
3889 | !ai->config.rates ) { | ||
3890 | ai->config.rates[i] = basic_rate | 0x80; | ||
3891 | break; | ||
3892 | } | ||
3893 | } | ||
3894 | } | ||
3895 | set_bit (FLAG_COMMIT, &ai->flags); | 3884 | set_bit (FLAG_COMMIT, &ai->flags); |
3896 | } | 3885 | } |
3897 | 3886 | ||