Commit ac26f81c authored by Dan Williams's avatar Dan Williams Committed by John W. Linville

[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: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 80e78ef7
...@@ -201,6 +201,7 @@ static void wlan_init_adapter(wlan_private * priv) ...@@ -201,6 +201,7 @@ static void wlan_init_adapter(wlan_private * priv)
adapter->prescan = 1; adapter->prescan = 1;
memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams)); memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams));
adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL;
/* PnP and power profile */ /* PnP and power profile */
adapter->surpriseremoved = 0; adapter->surpriseremoved = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment