-
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:
Kareem Zarka <kareem.zarka@huawei.com>
990010cbKareem Zarka authoredThis 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:
Kareem Zarka <kareem.zarka@huawei.com>
Loading