wificond: update band-wiphy_index when iface exists

When country code changed and OnregDomainChanged will
call updateBandWiphyIndexMap to update band-wiphy_index
mapping. However, when iface is down, this callback
may contain original out-dated wiphy-index, so this
band-wiphy_index mapping may be updated unexpectedly in
a wrong wiphy-index.

This commit tries to update this mapping only when
corresponding iface exists.

CRs-Fixed: 3106412
Change-Id: Id0d0bf00d35e033d46a5e1493cb3ebf816c79950
1 file changed