Skip to content
  • Kareem Zarka's avatar
    Add function to disable WiFi using libnm · 990010cb
    Kareem Zarka authored
    This commit adds a new function called `disable_wifi_with_attempts()`
    to the `libnm-wifi-utils` C++ library.
    The function uses the NetworkManager library to disable WiFi on the
    system. The function uses a similar logic to
    the `enable_wifi_with_attempts()` function, which waits for the WiFi to
    be disabled before returning a result. The function is tested and works
    as expected.
    Signed-off-by: default avatarKareem Zarka <>