|
|
@@ -10858,6 +10858,7 @@ void *probe_device_thread(void *p)
|
|
|
if (_probe_device_internal(info, dname, dnamelen))
|
|
|
return NULL;
|
|
|
else
|
|
|
+ if (opt_hotplug)
|
|
|
bfg_need_detect_rescan = true;
|
|
|
}
|
|
|
}
|
|
|
@@ -10896,6 +10897,7 @@ void *probe_device_thread(void *p)
|
|
|
if (drv->lowl_probe(info))
|
|
|
return NULL;
|
|
|
else
|
|
|
+ if (opt_hotplug)
|
|
|
bfg_need_detect_rescan = true;
|
|
|
}
|
|
|
}
|
|
|
@@ -10927,7 +10929,8 @@ void *probe_device_thread(void *p)
|
|
|
if (drv->lowl_probe(info))
|
|
|
return NULL;
|
|
|
}
|
|
|
- bfg_need_detect_rescan = true;
|
|
|
+ if (opt_hotplug)
|
|
|
+ bfg_need_detect_rescan = true;
|
|
|
break;
|
|
|
}
|
|
|
}
|