Move network add/remove operations to a common function
authorRoshan Pius <rpius@google.com>
Tue, 19 Jul 2016 17:44:22 +0000 (10:44 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 18 Aug 2016 17:46:18 +0000 (20:46 +0300)
commitd015bb05df1e1c2b12060bd7ffa51dc980585f4f
tree4067c4f79b292824457f89fb8282e97aa8641918
parent052b8d38c5799fb0c0983d6cf96d5d60754b46ae
Move network add/remove operations to a common function

All the 3 control interfaces: socket based, dbus & binder needs to
perform the same sequence of steps for network add/remove. So, move
these to a common utility method in |wpa_supplicant.c| instead of
duplicating the code everywhere.

Signed-off-by: Roshan Pius <rpius@google.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/dbus/dbus_old_handlers.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h