Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ac26f81ccecc23ad5d8c20ebe1dd482fa395298b
Commit:     ac26f81ccecc23ad5d8c20ebe1dd482fa395298b
Parent:     80e78ef74dffb2195e2a1164c18579180a76fd5b
Author:     Dan Williams <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 22:19:59 2007 -0400
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Jun 11 14:28:43 2007 -0400

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 eea1872..5463ee6 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)
        adapter->prescan = 1;
 
        memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams));
+       adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL;
 
        /* PnP and power profile */
        adapter->surpriseremoved = 0;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to