Skip to content

Commit

Permalink
Fix annotating wrong PSN in prev received PSN annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
mteijiro committed Feb 9, 2024
1 parent a75a3d7 commit fff4f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xp/gattlink/gg_gattlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ GG_GattlinkProtocol_HandleDataPacket(GG_GattlinkProtocol* self,
GG_LOG_WARNING("Received previously received PSN (%d) != Expected (%d), Re-acking with last received PSN (%d)",
(int)psn, (int)self->in.next_expected_data_psn, self->out.psn_to_ack_with);
GG_LOG_COMMS_ERROR_PSN(GG_LIB_GATTLINK_UNEXPECTED_PSN,
(int)self->out.psn_to_ack_with, (int)psn);
(int)self->out.next_expected_ack_sn, (int)psn);
}

// Increment the number of unacked packets
Expand Down

0 comments on commit fff4f6d

Please sign in to comment.