projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e78ef
)
[PATCH] libertas: fix default adhoc channel
author
Dan Williams
<dcbw@redhat.com>
Sat, 26 May 2007 02:19:59 +0000
(22:19 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:43 +0000
(14:28 -0400)
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>
drivers/net/wireless/libertas/fw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/libertas/fw.c
b/drivers/net/wireless/libertas/fw.c
index eea18725bb903efa6aa0718ce60e2f279042f420..5463ee618a19c5c2b24c799091c6f245db4c9c03 100644
(file)
--- 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)
adapter->prescan = 1;
memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams));
+ adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL;
/* PnP and power profile */
adapter->surpriseremoved = 0;