diff options
| author | Vinit Deshpande <vinitd@google.com> | 2015-02-05 12:48:02 -0800 |
|---|---|---|
| committer | Vinit Deshpande <vinitd@google.com> | 2015-02-05 15:46:52 -0800 |
| commit | 0a217de1802bc5cf785524c1913af7ae3faa9c54 (patch) | |
| tree | d7cce0e205aac49544dabfe4ac6b7393f1ecfaf1 /src/p2p | |
| parent | adaa28a85b3a1e28d36875bdf9113fea8eeb0248 (diff) | |
| download | android_external_wpa_supplicant_8-0a217de1802bc5cf785524c1913af7ae3faa9c54.tar.gz android_external_wpa_supplicant_8-0a217de1802bc5cf785524c1913af7ae3faa9c54.tar.bz2 android_external_wpa_supplicant_8-0a217de1802bc5cf785524c1913af7ae3faa9c54.zip | |
Don't write to wpa_supplicant.conf directly
There is a chance that wpa_supplicant may get killed during
the time it is writing config file. If this happens, user
information like SSIDs and passwords can be lost forever.
This change works around that by writing config to a
temporary file and then renaming the file to the correct name.
Bug: 19224089
Change-Id: I1709cdd5e5c6dfa3073e42c644fae941b43401cc
Signed-off-by: Vinit Deshpande <vinitd@google.com>
Diffstat (limited to 'src/p2p')
0 files changed, 0 insertions, 0 deletions
