| 73 | } |
| 74 | |
| 75 | bool WifiHotspot::util_delete_nm_file() { |
| 76 | // cleanup - proper stop of openhd, do not leave any traces behind. |
| 77 | if (OHDFilesystemUtil::exists( |
| 78 | get_ohd_wifi_hotspot_connection_nm_filename())) { |
| 79 | OHDUtil::run_command("nmcli", |
| 80 | {"con", "delete", OHD_WIFI_HOTSPOT_CONNECTION_NAME}); |
| 81 | return true; |
| 82 | } |
| 83 | return false; |
| 84 | } |
| 85 | |
| 86 | WifiHotspot::WifiHotspot(OHDProfile profile, WiFiCard wifiCard, |
| 87 | const openhd::WifiSpace& wifibroadcast_frequency_space) |
nothing calls this directly
no test coverage detected