huawei: remove redundant call to huawei_parse_auth_type()

This patch removes a redundant `encoded_auth = huawei_parse_auth_type (auth)`
in connect_3gpp_context_step().
This commit is contained in:
Ben Chan
2017-08-03 13:25:09 -07:00
committed by Aleksander Morgado
parent f81a518515
commit 625c204761

View File

@@ -389,7 +389,7 @@ connect_3gpp_context_step (Connect3gppContext *ctx)
encoded_auth = huawei_parse_auth_type (auth); encoded_auth = huawei_parse_auth_type (auth);
/* Default to no authentication if not specified */ /* Default to no authentication if not specified */
if ((encoded_auth = huawei_parse_auth_type (auth)) == MM_BEARER_HUAWEI_AUTH_UNKNOWN) if (encoded_auth == MM_BEARER_HUAWEI_AUTH_UNKNOWN)
encoded_auth = MM_BEARER_HUAWEI_AUTH_NONE; encoded_auth = MM_BEARER_HUAWEI_AUTH_NONE;
if (!user && !passwd) if (!user && !passwd)