3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 06:02:37 +01:00

network: remove unused method

This commit is contained in:
Denis Kenzior 2021-07-15 18:01:11 -05:00
parent 87dde21ec5
commit 8606f6e96a
2 changed files with 0 additions and 6 deletions

View File

@ -339,11 +339,6 @@ bool network_set_passphrase(struct network *network, const char *passphrase)
return __network_set_passphrase(network, passphrase); return __network_set_passphrase(network, passphrase);
} }
struct l_queue *network_get_secrets(const struct network *network)
{
return network->secrets;
}
bool network_set_psk(struct network *network, const uint8_t *psk) bool network_set_psk(struct network *network, const uint8_t *psk)
{ {
if (network_get_security(network) != SECURITY_PSK) if (network_get_security(network) != SECURITY_PSK)

View File

@ -41,7 +41,6 @@ const char *network_get_ssid(const struct network *network);
const char *network_get_path(const struct network *network); const char *network_get_path(const struct network *network);
enum security network_get_security(const struct network *network); enum security network_get_security(const struct network *network);
bool network_set_passphrase(struct network *network, const char *passphrase); bool network_set_passphrase(struct network *network, const char *passphrase);
struct l_queue *network_get_secrets(const struct network *network);
int network_get_signal_strength(const struct network *network); int network_get_signal_strength(const struct network *network);
struct l_settings *network_get_settings(const struct network *network); struct l_settings *network_get_settings(const struct network *network);