The following two patches are related somehow in the
scenario where wifi dongle is removed and inserted again,
and systemd-udev renames device.
Sytemd-udev may have predefined device names, which does
not necessarily follow kernel device sequential
numbering. The renaming of the device causes
Whenever systemd-udev renames a device, the orginal ifindex
is kept and consequently connman is unable to issue a proper
create interface to reflect such device change.
---
include/device.h | 1 +
src/detect.c | 15 +--
src/device.c | 20
3 files changed,
If a pending scan_callback is called after a dongle removal,
invalid reads occur in connman_device_reset_scanning, for
instance. This patch cleans the callback, before dbus remove
interface is returned.
---
gsupplicant/supplicant.c | 3 +++
1 file changed, 3 insertions(+)
diff --git