iw_runner: Add compatibility for newer iw

Newer versions of iw have scan output like:

   BSS 02:00:01:02:03:04(on wlan0)

instead of:

   BSS 02:00:01:02:03:04 (on wlan0)

Use a regular experession that will terminate at the end
of the BSS address.

BUG=chromium:343971
TEST=network_WiFi_PMKSACaching, network_WiFi_BeaconInterval,
network_WiFi_ChannelHop, network_WiFi_RateControl,
network_WiFi_DTIMPeriod, network_WiFi_SSIDSwitchBack,
network_WiFi_Prefer5Ghz, network_WiFi_BgscanBackoff
(basically all the tests that use iw_runner on the DUT)

Change-Id: I691bf501e4ec6940ebe66d1ea1ed55455d8b9614
Reviewed-on: https://chromium-review.googlesource.com/186581
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
1 file changed