Created
September 9, 2011 01:45
-
-
Save vkurup/1205291 to your computer and use it in GitHub Desktop.
Patch to fix RT2860sta driver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urbB old/common/cmm_wpa.c new/common/cmm_wpa.c | |
--- old/common/cmm_wpa.c 2010-07-08 07:40:24.000000000 -0400 | |
+++ new/common/cmm_wpa.c 2011-08-30 18:27:46.856572005 -0400 | |
@@ -2420,7 +2420,7 @@ | |
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; | |
rsnielen_cur_p = NULL; | |
rsnielen_ex_cur_p = NULL; | |
diff -urbB old/os/linux/config.mk new/os/linux/config.mk | |
--- old/os/linux/config.mk 2010-07-09 04:58:09.000000000 -0400 | |
+++ new/os/linux/config.mk 2011-08-30 18:23:52.120572001 -0400 | |
@@ -8,10 +8,10 @@ | |
HAS_XLINK=n | |
# Support Wpa_Supplicant | |
-HAS_WPA_SUPPLICANT=n | |
+HAS_WPA_SUPPLICANT=y | |
# Support Native WpaSupplicant for Network Maganger | |
-HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n | |
+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y | |
#Support Net interface block while Tx-Sw queue full | |
HAS_BLOCK_NET_IF=n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment