diff options
Diffstat (limited to 'drivers/net/wireless/libertas/fw.c')
-rw-r--r-- | drivers/net/wireless/libertas/fw.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/fw.c b/drivers/net/wireless/libertas/fw.c index 2dc84ff7a54a..6c2b3c25b821 100644 --- a/drivers/net/wireless/libertas/fw.c +++ b/drivers/net/wireless/libertas/fw.c | |||
@@ -217,10 +217,8 @@ static void wlan_init_adapter(wlan_private * priv) | |||
217 | adapter->is_datarate_auto = 1; | 217 | adapter->is_datarate_auto = 1; |
218 | adapter->beaconperiod = MRVDRV_BEACON_INTERVAL; | 218 | adapter->beaconperiod = MRVDRV_BEACON_INTERVAL; |
219 | 219 | ||
220 | // set default value of capinfo. | 220 | // set default capabilities |
221 | #define SHORT_PREAMBLE_ALLOWED 1 | 221 | adapter->capability = WLAN_CAPABILITY_SHORT_PREAMBLE; |
222 | memset(&adapter->capinfo, 0, sizeof(adapter->capinfo)); | ||
223 | adapter->capinfo.shortpreamble = SHORT_PREAMBLE_ALLOWED; | ||
224 | 222 | ||
225 | adapter->psmode = wlan802_11powermodecam; | 223 | adapter->psmode = wlan802_11powermodecam; |
226 | adapter->multipledtim = MRVDRV_DEFAULT_MULTIPLE_DTIM; | 224 | adapter->multipledtim = MRVDRV_DEFAULT_MULTIPLE_DTIM; |