aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/libertas/fw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/fw.c b/drivers/net/wireless/libertas/fw.c
index eea18725bb90..5463ee618a19 100644
--- a/drivers/net/wireless/libertas/fw.c
+++ b/drivers/net/wireless/libertas/fw.c
@@ -201,6 +201,7 @@ static void wlan_init_adapter(wlan_private * priv)
201 adapter->prescan = 1; 201 adapter->prescan = 1;
202 202
203 memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams)); 203 memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams));
204 adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL;
204 205
205 /* PnP and power profile */ 206 /* PnP and power profile */
206 adapter->surpriseremoved = 0; 207 adapter->surpriseremoved = 0;