All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix shared key auth in zd1201
@ 2005-03-28  9:49 Colin Leroy
  2005-03-28 10:06 ` Jesper Juhl
  2005-03-28 20:44 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Colin Leroy @ 2005-03-28  9:49 UTC (permalink / raw)
  To: linux-usb-devel; +Cc: linux-kernel, Greg KH

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_ */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-28 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-28  9:49 [PATCH] fix shared key auth in zd1201 Colin Leroy
2005-03-28 10:06 ` Jesper Juhl
2005-03-28 20:44 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.