MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / giveback_cards_monitor_mode

Method giveback_cards_monitor_mode

OpenHD/ohd_interface/src/wb_link_helper.cpp:302–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302void openhd::wb::giveback_cards_monitor_mode(
303 const std::vector<WiFiCard>& cards,
304 std::shared_ptr<spdlog::logger> console) {
305 for (const auto& card : cards) {
306 if (card.type == WiFiCardType::OPENHD_EMULATED) {
307 return;
308 }
309 wifi::commandhelper::nmcli_set_device_managed_status(card.device_name,
310 true);
311 }
312}
313
314bool openhd::wb::validate_frequency_change(
315 int new_frequency, int current_channel_width,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected