~victored/+junk/mt7601U-linux-driver-64bit

« back to all changes in this revision

Viewing changes to common/cmm_wpa.c

  • Committer: Victor Martinez
  • Date: 2014-08-30 05:23:18 UTC
  • Revision ID: victoreduardm@gmail.com-20140830052318-vw5w8ug2k869byrn
Add 64-bit linux support, as per http://ubuntuforums.org/archive/index.php/t-2092888.html.

This fixes kernel panics and most connection drops.

Don't use this version in 32-bit systems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2489
2489
        UCHAR           PrimaryRsnie;                   
2490
2490
        BOOLEAN         bMixCipher = FALSE;     /* indicate the pairwise and group cipher are different*/
2491
2491
        UCHAR           p_offset;               
2492
 
        WPA_MIX_PAIR_CIPHER             FlexibleCipher = MIX_CIPHER_NOTUSE;     /* it provide the more flexible cipher combination in WPA-WPA2 and TKIPAES mode*/
 
2492
        WPA_MIX_PAIR_CIPHER             FlexibleCipher = WPA_TKIPAES_WPA2_TKIPAES; /* it provide the more flexible cipher combination in WPA-WPA2 and TKIPAES mode*/
2493
2493
                
2494
2494
        rsnielen_cur_p = NULL;
2495
2495
        rsnielen_ex_cur_p = NULL;
4314
4314
                                                        KeyTabFlag);
4315
4315
 
4316
4316
}
4317