mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 23:18:20 +00:00
[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>
This commit is contained in:
parent
80e78ef74d
commit
ac26f81cce
@ -201,6 +201,7 @@ static void wlan_init_adapter(wlan_private * priv)
|
||||
adapter->prescan = 1;
|
||||
|
||||
memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams));
|
||||
adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL;
|
||||
|
||||
/* PnP and power profile */
|
||||
adapter->surpriseremoved = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user