diff options
author | VAUTRIN Emmanuel (Canal Plus Prestataire) <Emmanuel.VAUTRIN@cpexterne.org> | 2022-01-18 10:33:02 +0000 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2022-01-21 08:38:16 +0100 |
commit | e16b4105baaabf5403ebd506f5fa90b2eccbed4b (patch) | |
tree | 47353e4b717a7fbd943fb128415b357190e0cd33 /plugins | |
parent | a6ccc289b06293e8f394fef6999d2723b8193b19 (diff) | |
download | connman-e16b4105baaabf5403ebd506f5fa90b2eccbed4b.tar.gz |
iwd: Fix station in scan callback
The station shall be searched in stations table instead of networks.
Fixes: 8371114aaef9 ("iwd: Hookup manual scan trigger")
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/iwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/iwd.c b/plugins/iwd.c index b0e17a4d..bb97262e 100644 --- a/plugins/iwd.c +++ b/plugins/iwd.c @@ -555,7 +555,7 @@ static void cm_device_scan_cb(DBusMessage *message, void *user_data) const char *path = user_data; struct iwd_station *iwds; - iwds = g_hash_table_lookup(networks, path); + iwds = g_hash_table_lookup(stations, path); if (!iwds) return; |