src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim/test/active_scan_test.cc
void ActiveScanTest::EndSimulation() {
  for (auto ap_info = aps_.begin(); ap_info != aps_.end(); ap_info++) {
    (*ap_info)->ap_.DisableBeacon();
  }
  zx_status_t status = device_->WlanphyImplDestroyIface(client_ifc_->iface_id_);
  EXPECT_EQ(status, ZX_OK);
}
// Called when simulation time has run out. Takes down all fake APs and the simulated DUT.
Called when simulation time has run out. Takes down all fake APs and the simulated DUT.
Called when simulation time has run out . Takes down all fake APs and the simulated DUT .
void ActiveScanTest::EndSimulation() {
  for (auto ap_info = aps_.begin(); ap_info != aps_.end(); ap_info++) {
    (*ap_info)->ap_.DisableBeacon();
  }
  zx_status_t status = device_->WlanphyImplDestroyIface(client_ifc_->iface_id_);
  EXPECT_EQ(status, ZX_OK);
}
void ActiveScanTest :: EndSimulation ( ) { for ( auto ap_info = aps_ . begin ( ) ; ap_info != aps_ . end ( ) ; ap_info ++ ) { ( * ap_info ) -> ap_ . DisableBeacon ( ) ; } zx_status_t status = device_ -> WlanphyImplDestroyIface ( client_ifc_ -> iface_id_ ) ; EXPECT_EQ ( status , ZX_OK ) ; }
Called when simulation time has run out.
Called when simulation time has run out .