diff options
author | Ivan Safonov <insafonov@gmail.com> | 2017-04-02 17:35:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:11:54 +0200 |
commit | d79640dac7f20813b0794b7f582c3099f2fdaa61 (patch) | |
tree | 2cca2933f397a19baf7dd8e6fb74895ce00dc9d6 /drivers/staging/rtl8188eu | |
parent | 228838793697c9a85e8469c8a347fe6e251dc023 (diff) | |
download | blackbird-op-linux-d79640dac7f20813b0794b7f582c3099f2fdaa61.tar.gz blackbird-op-linux-d79640dac7f20813b0794b7f582c3099f2fdaa61.zip |
staging:r8188eu: replace rtw_software_encrypt with its default value
rtw_software_encrypt used only once and does not changed.
Replace it with 0.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/os_intfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index 8fee58fec8fd..ccae39f0b077 100644 --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c @@ -49,8 +49,6 @@ MODULE_PARM_DESC(rtw_ips_mode, "The default IPS mode"); static int rtw_debug = 1; -static int rtw_software_encrypt; - static int rtw_acm_method;/* 0:By SW 1:By HW. */ static int rtw_wmm_enable = 1;/* default is set to enable the wmm. */ @@ -165,7 +163,7 @@ 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 = (u8)rtw_software_encrypt; + registry_par->software_encrypt = 0; registry_par->acm_method = (u8)rtw_acm_method; /* UAPSD */ |