modem: remove SECRETS_CALLER_HSO_GSM; ModemManager abstracts modems for us
Fixes a bug where if GSM secrets were required, the connection would fail because they were requested with SECRETS_CALLER_HSO_GSM, but the function to handle retrieved secrets only expected SECRETS_CALLER_GSM.
This commit is contained in:
@@ -240,7 +240,7 @@ real_act_stage1_prepare (NMDevice *device, NMDeviceStateReason *reason)
|
||||
nm_act_request_request_connection_secrets (req,
|
||||
setting_name,
|
||||
tries ? TRUE : FALSE,
|
||||
SECRETS_CALLER_HSO_GSM,
|
||||
SECRETS_CALLER_GSM,
|
||||
hint1,
|
||||
hint2);
|
||||
g_object_set_data (G_OBJECT (connection), GSM_SECRETS_TRIES, GUINT_TO_POINTER (++tries));
|
||||
|
@@ -43,8 +43,7 @@ typedef enum {
|
||||
SECRETS_CALLER_WIFI,
|
||||
SECRETS_CALLER_GSM,
|
||||
SECRETS_CALLER_CDMA,
|
||||
SECRETS_CALLER_PPP,
|
||||
SECRETS_CALLER_HSO_GSM
|
||||
SECRETS_CALLER_PPP
|
||||
} RequestSecretsCaller;
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user