~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/staging/rtl8712/rtl871x_cmd.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
431
431
        }
432
432
        psecnetwork = (struct ndis_wlan_bssid_ex *)&psecuritypriv->sec_bss;
433
433
        if (psecnetwork == NULL) {
434
 
                if (pcmd != NULL)
435
 
                        kfree((unsigned char *)pcmd);
 
434
                kfree(pcmd);
436
435
                return _FAIL;
437
436
        }
438
437
        memset(psecnetwork, 0, t_len);
478
477
                 * to avoid some IOT issues, especially for Realtek 8192u
479
478
                 * SoftAP.
480
479
                 */
481
 
                if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_ ) &&
482
 
                    (padapter->securitypriv.PrivacyAlgrthm != _WEP104_ )) {
 
480
                if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) &&
 
481
                    (padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) {
483
482
                        /* restructure_ht_ie */
484
483
                        r8712_restructure_ht_ie(padapter,
485
484
                                                &pnetwork->network.IEs[0],