mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-30 14:22:37 +01:00
scan: Always call the trigger callback
Otherwise dbus Scan calls will not return on success.
This commit is contained in:
parent
7f52c8ec9d
commit
27aa254358
@ -280,6 +280,9 @@ static void scan_done(struct l_genl_msg *msg, void *userdata)
|
||||
l_debug("%s scan triggered for ifindex: %u",
|
||||
sr->passive ? "Passive" : "Active", sc->ifindex);
|
||||
sr->triggered = true;
|
||||
|
||||
if (sr->trigger)
|
||||
sr->trigger(0, sr->userdata);
|
||||
}
|
||||
|
||||
static uint32_t scan_common(uint32_t ifindex, bool passive,
|
||||
|
Loading…
Reference in New Issue
Block a user