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

wiphy: Print an error if PMK generation fails

This commit is contained in:
Denis Kenzior 2015-03-20 15:22:44 -05:00
parent 204964fd8d
commit 709b94587e

View File

@ -304,6 +304,8 @@ static void passphrase_callback(enum agent_result result,
if (crypto_psk_from_passphrase(passphrase, network->ssid, if (crypto_psk_from_passphrase(passphrase, network->ssid,
network->ssid_len, network->psk) < 0) { network->ssid_len, network->psk) < 0) {
l_error("PMK generation failed. "
"Ensure Crypto Engine is properly configured");
dbus_pending_reply(&netdev->connect_pending, dbus_pending_reply(&netdev->connect_pending,
dbus_error_failed(netdev->connect_pending)); dbus_error_failed(netdev->connect_pending));