Skip to content

wifi-manager: Fix leak of Wi-Fi connection

Arun Mani J requested to merge arun-mani-j/phosh:wifi-networks-leak-fix into main

This MR cleans up a few logical bugs around Wi-Fi connection activation.

  1. Fix leaking of Wi-Fi connection in activation functions.
  2. Use g_signal_connect_object to ensure the network is alive when the callback is called.
  3. Disconnect the network from signal once the Wi-Fi connection crosses "activating" state.
  4. Remove unused headers.

Closes: #1099 (closed)

Merge request reports

Loading