summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/config.c b/src/config.c
index 93a788a1..61cf8aeb 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1098,7 +1098,6 @@ static int try_provision_service(struct connman_config_service *config,
enum connman_service_type type;
const void *ssid;
unsigned int ssid_len;
- const char *str;
network = __connman_service_get_network(service);
if (!network) {
@@ -1129,10 +1128,6 @@ static int try_provision_service(struct connman_config_service *config,
if (memcmp(config->ssid, ssid, ssid_len))
return -ENOENT;
- str = connman_network_get_string(network, "WiFi.Security");
- if (config->security != __connman_service_string2security(str))
- return -ENOENT;
-
break;
case CONNMAN_SERVICE_TYPE_ETHERNET: