DevIo.pm: call callback for NEXT_OPEN (Forum #53309)

git-svn-id: https://svn.fhem.de/fhem/trunk@11742 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-07-05 08:02:03 +00:00
parent 85dbe1ceff
commit 8651d6cb3f

View File

@@ -303,7 +303,7 @@ DevIo_OpenDev($$$;$)
# for non-existent devices has a delay of 3 sec, we are sitting all the
# time in this connect. NEXT_OPEN tries to avoid this problem.
if($hash->{NEXT_OPEN} && time() < $hash->{NEXT_OPEN}) {
return undef;
return &doCb(undef); # Forum 53309
}
my $timeout = $hash->{TIMEOUT} ? $hash->{TIMEOUT} : 3;