On Thu, 2015-02-26 at 13:43 +0200, Patrik Flykt wrote:
> Deleting a WiFi PSK passphrase in response to an invalid key error
> causes the passphrase disappear from the save file. This results in
> a discovered WiFi network with identical SSID and security method
> to remove the saved passphrase of the actual network.
> 
> Instead of always removing the passphrase, use service error to keep
> track of the passphrase validity. Do this by unsetting service error
> only when the service enters ready or disconnect states or when the
> passphrase is supplied by the agent. In all other states the service
> error is not modified and the error is used to detect and invalid key
> upon service connection.
> 
> Reported by Pasi Sjöholm.

Didn't see any immediate breakage while testing so this one is now
applied.

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to