diff options
author | Ivan Safonov <insafonov@gmail.com> | 2017-04-02 17:35:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:11:54 +0200 |
commit | 82407f388e3efd4b3c4eee3b1b53eb8a3252b274 (patch) | |
tree | c51984679d46d76c68f07d906bc328aecb974bc8 /drivers/staging/rtl8188eu/os_dep | |
parent | d79640dac7f20813b0794b7f582c3099f2fdaa61 (diff) | |
download | op-kernel-dev-82407f388e3efd4b3c4eee3b1b53eb8a3252b274.zip op-kernel-dev-82407f388e3efd4b3c4eee3b1b53eb8a3252b274.tar.gz |
staging:r8188eu: remove software_encrypt member of registry_priv struct
Value of this variable does not changed after initialization.
Replace software_encrypt with its default value.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/os_intfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index ccae39f..fecbedd 100644 --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c @@ -163,7 +163,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev) registry_par->power_mgnt = (u8)rtw_power_mgnt; registry_par->ips_mode = (u8)rtw_ips_mode; registry_par->mp_mode = 0; - registry_par->software_encrypt = 0; registry_par->acm_method = (u8)rtw_acm_method; /* UAPSD */ @@ -389,7 +388,7 @@ static u8 rtw_init_default_value(struct adapter *padapter) /* security_priv */ psecuritypriv->binstallGrpkey = _FAIL; - psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_encrypt = 0; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; psecuritypriv->dot11PrivacyKeyIndex = 0; |