diff options
author | Ivan Safonov <insafonov@gmail.com> | 2017-04-02 17:35:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:11:53 +0200 |
commit | 8c986111a67ef9c1de2b9b8a536690b009c96d24 (patch) | |
tree | f4a1ec91160a6b06eee423e5919bdbed58166871 /drivers/staging/rtl8188eu/os_dep | |
parent | 0e7018b4b01fd7caeb26e8db5a4ff62ecfb1306f (diff) | |
download | op-kernel-dev-8c986111a67ef9c1de2b9b8a536690b009c96d24.zip op-kernel-dev-8c986111a67ef9c1de2b9b8a536690b009c96d24.tar.gz |
staging:r8188eu: remove software_decrypt member of registry_priv struct
Value of this variable has no changes, and used once.
Replace software_decrypt with its 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 f1c8bbc..451deb0 100644 --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c @@ -166,7 +166,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev) registry_par->ips_mode = (u8)rtw_ips_mode; registry_par->mp_mode = 0; registry_par->software_encrypt = (u8)rtw_software_encrypt; - registry_par->software_decrypt = 0; registry_par->acm_method = (u8)rtw_acm_method; /* UAPSD */ @@ -393,7 +392,7 @@ static u8 rtw_init_default_value(struct adapter *padapter) /* security_priv */ psecuritypriv->binstallGrpkey = _FAIL; psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; + psecuritypriv->sw_decrypt = 0; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; psecuritypriv->dot11PrivacyKeyIndex = 0; |