From: Colin Leroy <colin@colino.net>
To: linux-usb-devel@lists.sf.net
Cc: linux-kernel@vger.kernel.org, Greg KH <greg@kroah.com>
Subject: [PATCH] fix shared key auth in zd1201
Date: Mon, 28 Mar 2005 11:49:04 +0200 [thread overview]
Message-ID: <20050328114904.09291da8@jack.colino.net> (raw)
Hi,
this is a resend of a patch that Andrew put in -mm, but that I think is
ok and should go into mainline. I did not get any feedback (positive or
negative) about it. Please either apply it or explain why not...
It's currently impossible to associate with a shared-key-only access
point using the zd1201 driver. The attached patch fixes it. The reason
was (probably) a typo in the definitions of the authentification types.
I found that they should be (1,2) instead of (0,1) by looking at the
old linux-wlan-ng driver by Zydas.
Signed-off-by: Colin Leroy <colin@colino.net>
--- a/drivers/usb/net/zd1201.h 2005-03-25 09:14:49.000000000 +0100
+++ b/drivers/usb/net/zd1201.h 2005-03-25 09:11:59.000000000 +0100
@@ -141,7 +141,7 @@
#define ZD1201_RATEB5 4 /* 5.5 really, but 5 is shorter :) */
#define ZD1201_RATEB11 8
-#define ZD1201_CNFAUTHENTICATION_OPENSYSTEM 0
-#define ZD1201_CNFAUTHENTICATION_SHAREDKEY 1
+#define ZD1201_CNFAUTHENTICATION_OPENSYSTEM 0x0001
+#define ZD1201_CNFAUTHENTICATION_SHAREDKEY 0x0002
#endif /* _INCLUDE_ZD1201_H_ */
next reply other threads:[~2005-03-28 9:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-28 9:49 Colin Leroy [this message]
2005-03-28 10:06 ` Jesper Juhl
2005-03-28 20:44 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050328114904.09291da8@jack.colino.net \
--to=colin@colino.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sf.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®