You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
425 B

  1. --- a/module/owlib/src/c/ow_reset.c
  2. +++ b/module/owlib/src/c/ow_reset.c
  3. @@ -21,6 +21,10 @@ RESET_TYPE BUS_reset(const struct parsed
  4. struct connection_in * in = pn->selected_connection ;
  5. STAT_ADD1_BUS(e_bus_resets, in);
  6. + if ( in->iroutines.reset == NO_RESET_ROUTINE ) {
  7. + return BUS_RESET_OK;
  8. + }
  9. +
  10. switch ( (in->iroutines.reset) (pn) ) {
  11. case BUS_RESET_OK:
  12. in->reconnect_state = reconnect_ok; // Flag as good!