~connman-maintainers/connman/head

Viewing all changes in revision 7984.

  • Committer: Daniel Wagner
  • Date: 2020-02-07 07:58:52 UTC
  • Revision ID: git-v1:262d4756bf63b5ace98e869b891f56d6c742ff85
iwd: Propogate invalid key on connection attempt failure

Currently all connection attempts are reported as
CONNMAN_NETWORK_ERROR_CONNECT_FAIL. When the user enters an wrong
passphrase the upper layers wont reset the passphrase unless
CONNMAN_NETWORK_ERROR_INVALID_KEY is reported. This prevents the user
to enter a new passphrase.

Unfortunately, when the passphrase is correct but the connect attempt
fails with 'Failed', ConnMan will reset the passphrase. But this
behavoir is way better then not being able to provide the correct
passphrase.

Reported-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: