aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/fw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/fw.c')
-rw-r--r--drivers/net/wireless/libertas/fw.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/fw.c b/drivers/net/wireless/libertas/fw.c
index d214692eb209..6c259878da96 100644
--- a/drivers/net/wireless/libertas/fw.c
+++ b/drivers/net/wireless/libertas/fw.c
@@ -214,7 +214,10 @@ static void wlan_init_adapter(wlan_private * priv)
214 adapter->txantenna = RF_ANTENNA_2; 214 adapter->txantenna = RF_ANTENNA_2;
215 adapter->rxantenna = RF_ANTENNA_AUTO; 215 adapter->rxantenna = RF_ANTENNA_AUTO;
216 216
217 adapter->is_datarate_auto = 1; 217 adapter->auto_rate = 1;
218 adapter->cur_rate = 0;
219 adapter->adhoc_grate_enabled = 0;
220
218 adapter->beaconperiod = MRVDRV_BEACON_INTERVAL; 221 adapter->beaconperiod = MRVDRV_BEACON_INTERVAL;
219 222
220 // set default capabilities 223 // set default capabilities
@@ -229,10 +232,6 @@ static void wlan_init_adapter(wlan_private * priv)
229 adapter->needtowakeup = 0; 232 adapter->needtowakeup = 0;
230 adapter->locallisteninterval = 0; /* default value in firmware will be used */ 233 adapter->locallisteninterval = 0; /* default value in firmware will be used */
231 234
232 adapter->datarate = 0; // Initially indicate the rate as auto
233
234 adapter->adhoc_grate_enabled = 0;
235
236 adapter->intcounter = 0; 235 adapter->intcounter = 0;
237 236
238 adapter->currenttxskb = NULL; 237 adapter->currenttxskb = NULL;