Skip to content

Commit

Permalink
Added one line to see which devices are not being registered properly
Browse files Browse the repository at this point in the history
  • Loading branch information
preston-rogers committed Jul 31, 2024
1 parent 465c767 commit 1c3af6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ bool jsd_init(jsd_t* self, const char* ifname, uint8_t enable_autorecovery) {
WARNING("Failed OP transition attempt %d of %d", attempt,
JSD_PO2OP_MAX_ATTEMPTS);

jsd_inspect_context(self);

if (attempt >= JSD_PO2OP_MAX_ATTEMPTS) {
ERROR("Max number of attempts to transition to OPERATIONAL exceeded.");
return false;
Expand Down

0 comments on commit 1c3af6a

Please sign in to comment.