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:

committed by
Aleksander Morgado

parent
f81a518515
commit
625c204761
@@ -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)
|
||||||
|
Reference in New Issue
Block a user