mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
staging: r8188eu: binstallGrpkey is set to _FAIL
The variable binstallGrpkey is set to _FAIL which is defined as 0. Use false to set the variable to get rid of another use of _FAIL. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20221111083733.3144-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
64ce3acd0a
commit
7209757311
@@ -405,7 +405,7 @@ static void rtw_init_default_value(struct adapter *padapter)
|
||||
pmlmepriv->htpriv.ampdu_enable = false;/* set to disabled */
|
||||
|
||||
/* security_priv */
|
||||
psecuritypriv->binstallGrpkey = _FAIL;
|
||||
psecuritypriv->binstallGrpkey = false;
|
||||
psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt;
|
||||
psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt;
|
||||
psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */
|
||||
|
||||
Reference in New Issue
Block a user