diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-23 16:36:46 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-23 16:36:46 +0100 |
commit | 3583d87ad728b9fda4aa8710a930f3035796fc56 (patch) | |
tree | 735399db96438a46231bd57dfa82c863f873dee2 /src/network.c | |
parent | 8921d47be767138240611eedfd6e7e3f5c61d589 (diff) | |
download | connman-3583d87ad728b9fda4aa8710a930f3035796fc56.tar.gz connman-3583d87ad728b9fda4aa8710a930f3035796fc56.tar.bz2 connman-3583d87ad728b9fda4aa8710a930f3035796fc56.zip |
network: Remove unused network_set_passphrase routine
Diffstat (limited to 'src/network.c')
-rw-r--r-- | src/network.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/network.c b/src/network.c index 81f963ed..13d6e894 100644 --- a/src/network.c +++ b/src/network.c @@ -1287,34 +1287,6 @@ const char *connman_network_get_string(struct connman_network *network, } /** - * 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 * @key: unique identifier |