Staging: rt2860: fix for driver RT2860 to be able to connect to WPA2 networks
authorBryan Stephenson <acreda1234@tiscali.co.uk>
Fri, 1 May 2009 20:07:53 +0000 (21:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:50 +0000 (11:00 -0700)
Hi

patch to change a line in the cmm_wpa.c file for the rt2860 driver so it
can connect to WPA2 networks with TKIP & AES encryption

Signed-off-by: Bryan Stephenson <acreda1234@tiscali.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/cmm_wpa.c

index d467f5338c456d4f9660adf75cbd6db83a330f4d..bda69e76867e08ae82b73d79efb37210fc85178e 100644 (file)
@@ -625,7 +625,7 @@ VOID RTMPMakeRSNIE(
        UCHAR           PrimaryRsnie;
        BOOLEAN         bMixCipher = FALSE;     // indicate the pairwise and group cipher are different
        UCHAR           p_offset;
-       WPA_MIX_PAIR_CIPHER             FlexibleCipher = MIX_CIPHER_NOTUSE;     // it provide the more flexible cipher combination in WPA-WPA2 and TKIPAES mode
+       WPA_MIX_PAIR_CIPHER             FlexibleCipher = WPA_TKIPAES_WPA2_TKIPAES;      // it provide the more flexible cipher combination in WPA-WPA2 and TKIPAES mode
 
        rsnielen_cur_p = NULL;
        rsnielen_ex_cur_p = NULL;