commit | 0965fae8c0f34f694dab364a9f4e329d466001ec | [log] [tgz] |
---|---|---|
author | Peter Qiu <zqiu@chromium.org> | Thu Apr 02 11:23:03 2015 -0700 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Fri Apr 03 19:50:58 2015 +0000 |
tree | 61b3734c7c688ce361c692afe92357b533998e14 | |
parent | 127f2565a985650963d6109fc3a32c3da6a17d32 [diff] |
shill: fix shill crash when wpa_supplicant disappeared When stopping the wifi device, make sure supplicant is present before invoking calls to supplicant proxy. While there, also clean up pending_scan_results_ to allow processing of future scan results. BUG=chromium:472833 TEST=USE="asan clang" FEATURES=test emerge-$BOARD shill Manual Test: 1. Stop wpa_supplicant using command "stop wpasupplicant" 2. Then restart wpa_supplicant using "start wpasupplicant" 3. Verify there is no shill crashes in "/var/spool/crash", and wifi connection continues to work. Change-Id: Ic1950064d30a4e62ca0b187e7e0c8093447a698a Reviewed-on: https://chromium-review.googlesource.com/263699 Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Zeping Qiu <zqiu@chromium.org>