eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 33aa07e9ceade7917fd8e23d5464b72072a53341
parent 395d8b9ea0a16d6fbf53118c570cd1b03d5652bf
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date:   Fri, 22 Mar 2019 14:17:43 -0700

station: rename scan_id to dbus_scan_id

Diffstat:
Msrc/station.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/station.c b/src/station.c @@ -67,7 +67,7 @@ struct station { struct l_dbus_message *disconnect_pending; struct l_dbus_message *scan_pending; struct signal_agent *signal_agent; - uint32_t scan_id; + uint32_t dbus_scan_id; uint32_t hidden_network_scan_id; /* Roaming related members */ @@ -2171,7 +2171,7 @@ static void station_dbus_scan_destroy(void *userdata) { struct station *station = userdata; - station->scan_id = 0; + station->dbus_scan_id = 0; } static struct l_dbus_message *station_dbus_scan(struct l_dbus *dbus, @@ -2182,15 +2182,15 @@ static struct l_dbus_message *station_dbus_scan(struct l_dbus *dbus, l_debug("Scan called from DBus"); - if (station->scan_id) + if (station->dbus_scan_id) return dbus_error_busy(message); - station->scan_id = station_scan_trigger(station, NULL, + station->dbus_scan_id = station_scan_trigger(station, NULL, station_dbus_scan_triggered, new_scan_results, station_dbus_scan_destroy); - if (!station->scan_id) + if (!station->dbus_scan_id) return dbus_error_failed(message); station->scan_pending = l_dbus_message_ref(message); @@ -2488,9 +2488,9 @@ static void station_free(struct station *station) dbus_pending_reply(&station->scan_pending, dbus_error_aborted(station->scan_pending)); - if (station->scan_id) + if (station->dbus_scan_id) scan_cancel(netdev_get_ifindex(station->netdev), - station->scan_id); + station->dbus_scan_id); if (station->hidden_network_scan_id) scan_cancel(netdev_get_ifindex(station->netdev),