Skip to content

Commit

Permalink
Insteon: Fix Return from i2CS to Link to Interface
Browse files Browse the repository at this point in the history
Was in the wrong location, which skipped adding the controller record on the device for device->PLM
  • Loading branch information
krkeegan committed Oct 20, 2013
1 parent c96fe10 commit a58f5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Insteon/BaseInsteon.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ sub link_to_interface_i2cs
case (2) { #Scan device to get an accurate link table
#return to normal link_to_interface routine if successful
$success_callback_prefix = $self->get_object_name."->link_to_interface('$p_group','$p_data3',";
$success_callback = $success_callback_prefix . "'2')";
$success_callback = $success_callback_prefix . "'1')";
$self->scan_link_table($success_callback, $failure_callback);
}
}
Expand Down

0 comments on commit a58f5ae

Please sign in to comment.