ChangeSet 1.2181.4.82, 2005/03/28 12:34:31-08:00, [EMAIL PROTECTED]

        [PATCH] USB: fix shared key auth in zd1201
        
        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 <[EMAIL PROTECTED]>
        Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>



 zd1201.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/drivers/usb/net/zd1201.h b/drivers/usb/net/zd1201.h
--- a/drivers/usb/net/zd1201.h  2005-03-30 15:21:32 -08:00
+++ b/drivers/usb/net/zd1201.h  2005-03-30 15:21:32 -08:00
@@ -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 bk-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