avoid crash at pairing

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6110 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-06-14 11:58:49 +00:00
parent 4737826112
commit 5d8c0b7e82

View File

@@ -764,7 +764,8 @@ sub CUL_HM_hmInitMsg($){ #define device init msg for HMLAN
}
sub CUL_HM_hmInitMsgUpdt($){ #update device init msg for HMLAN
my ($hash)=@_;
return if ($hash->{helper}{role}{vrt});
return if ( $hash->{helper}{role}{vrt}
||!defined $hash->{helper}{io}{p});
my $oldChn = $hash->{helper}{io}{newChn};
my @p = @{$hash->{helper}{io}{p}};
# General todo