From 3583d87ad728b9fda4aa8710a930f3035796fc56 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 23 Dec 2010 16:36:46 +0100 Subject: network: Remove unused network_set_passphrase routine --- src/network.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src') diff --git a/src/network.c b/src/network.c index 81f963ed..13d6e894 100644 --- a/src/network.c +++ b/src/network.c @@ -1286,34 +1286,6 @@ const char *connman_network_get_string(struct connman_network *network, return connman_element_get_string(&network->element, key); } -/** - * connman_network_set_passphrase: - * @network: network structure - * @passphrase: network passphrase - * - * Set network passphrase. - * If the network is linked to a service, the latter gets his passphrase - * set as well. - */ -int connman_network_set_passphrase(struct connman_network *network, - const char* passphrase) -{ - struct connman_service *service; - - service = __connman_service_lookup_from_network(network); - if (service == NULL) { - connman_network_set_string(network, "WiFi.Passphrase", - passphrase); - - return 0; - } - - __connman_service_set_passphrase(service, passphrase); - - return 0; -} - - /** * connman_network_set_bool: * @network: network structure -- cgit v1.2.3