lkml.org 
[lkml]   [2005]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix shared key auth in zd1201
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_ */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-06 13:31    [W:2.053 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site