ix adapter initialization logic
ix adapter initialization logic

The original variable that was used for the initial DEVDOWN ioctl when
OffMode=DevDown and the stored mode is "off" can't really be used elsewhere
since it gets reset after calling the ioctl even though e.g. drivers haven't
been probed yet. This patch renames the old variable (to first_up) and adds a
new one for tracking when the adapter initialization has fully been completed.

pkarasev3/bluez,mapfau/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,pkarasev3/bluez,mapfau/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,mapfau/bluez,ComputeCycles/bluez,silent-snowman/bluez,pstglia/external-bluetooth-bluez,silent-snowman/bluez,ComputeCycles/bluez,silent-snowman/bluez,pkarasev3/bluez