diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-25 22:19:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:43 -0400 |
commit | ac26f81ccecc23ad5d8c20ebe1dd482fa395298b (patch) | |
tree | 4e583747a0f7905470cc5140d8fc72f558baf3af /drivers/net | |
parent | 80e78ef74dffb2195e2a1164c18579180a76fd5b (diff) |
[PATCH] libertas: fix default adhoc channel
Inadvertently removed on a previous commit; causes the first
adhoc start to fail if a channel has not been set or no
other association has been made.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/libertas/fw.c | 1 |
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; |