Fix hostapd shutdown timeouts

Fix a situation where the pgrep for hostapd sees the bash wrapper around
the pregp on the remote system, and never detects that hostapd is dead.

BUG=chromium:386336
TEST=network_WiFi_RateControl no longer times out during shutdown on a Leon in
the lab.
Change-Id: Iec2f5056c985f593cddf68301a7857392860886c
Reviewed-on: https://chromium-review.googlesource.com/206240
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
1 file changed