diff options
author | Ivan Safonov <insafonov@gmail.com> | 2017-04-02 17:35:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:11:53 +0200 |
commit | 0e7018b4b01fd7caeb26e8db5a4ff62ecfb1306f (patch) | |
tree | b44230fdd3fe48443f0c7b838ab48566c8b59650 /drivers/staging/rtl8188eu | |
parent | 361b3f54ba4482229b6d91fea667a653e394056c (diff) |
staging:r8188eu: replace rtw_software_decrypt with its value
rtw_software_decrypt 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 | 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 5f6a24546a91..f1c8bbc663e6 100644 --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c @@ -50,7 +50,6 @@ MODULE_PARM_DESC(rtw_ips_mode, "The default IPS mode"); static int rtw_debug = 1; static int rtw_software_encrypt; -static int rtw_software_decrypt; static int rtw_acm_method;/* 0:By SW 1:By HW. */ @@ -167,7 +166,7 @@ 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 = (u8)rtw_software_decrypt; + registry_par->software_decrypt = 0; registry_par->acm_method = (u8)rtw_acm_method; /* UAPSD */ |