core: Add ctx to the active context list before backend->init
authorHans de Goede <hdegoede@redhat.com>
Thu, 16 May 2013 14:32:33 +0000 (16:32 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 16 May 2013 15:18:32 +0000 (17:18 +0200)
commit851b2570532174779670587b58240f5d91ddec36
treeb9d68cfd8222571af2d63a77781e909c97b002fe
parent6270638991a56489128955699e37d5ca33f30f83
core: Add ctx to the active context list before backend->init

As soon as backend->init has completed hotplug events may fire, and they
will not get processed on the created context until it has been added
to the active_context list.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/core.c
libusb/version_nano.h