supplicant: make NMSupplicantInterface independent of NMSupplicantManager

System Internals / NetworkManager - Dan Williams [redhat.com] - 3 March 2015 14:56 UTC

The Interface held a reference to the manager to listen for the 'available' signal. Instead of that, let's make the child unaware of the master to keep the inheritance cleaner.

7ed2d7a supplicant: make NMSupplicantInterface independent of NMSupplicantManager
src/supplicant-manager/nm-supplicant-interface.c | 39 ++----------
src/supplicant-manager/nm-supplicant-interface.h | 6 +-
src/supplicant-manager/nm-supplicant-manager.c | 70 ++++++++--------------
src/supplicant-manager/nm-supplicant-manager.h | 9 ---
src/supplicant-manager/nm-supplicant-types.h | 4 ++
5 files changed, 39 insertions(+), 89 deletions(-)

Upstream: cgit.freedesktop.org


  • Share