diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-07-31 01:28:57 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-07-31 01:28:57 +0100 |
| commit | 0013c3199a2aae168cfbf4be9721592268ff1eed (patch) | |
| tree | 284dd523c252715b010f9100e02543f41d59a6d0 /L2Code.c | |
| parent | 5d30fbc104f1e4cba793df058866d04b91870c6b (diff) | |
| parent | fa3201d982100b5168f155f7c544f4fc902079d7 (diff) | |
Update upstream source from tag 'upstream/6.0.24.78+repack'
Update to upstream version '6.0.24.78+repack'
with Debian dir 819c1fdecb5d78677ec3f2ff01920f6e3ddca42c
Diffstat (limited to 'L2Code.c')
| -rw-r--r-- | L2Code.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -3281,7 +3281,7 @@ VOID L2TimerProc() LINK->L2ACKREQ = 0; // CLEAR ANY DELAYED ACK TIMER
- if (LINK->L2RETRIES == 0) // IF RR(P) OUTSTANDING WILl REPORT ANYWAY
+ if (LINK->L2RETRIES == 0) // IF RR(P) OUTSTANDING WILL REPORT ANYWAY
{
SendSupervisCmd(LINK);
LINK++;
@@ -3904,6 +3904,7 @@ UINT RR_OR_RNR(struct _LINKTABLE * LINK) {
UCHAR Temp;
TRANSPORTENTRY * Session;
+ int SaveRNRSent = LINK->L2FLAGS & RNRSENT;
LINK->L2FLAGS &= ~RNRSENT;
@@ -3979,6 +3980,11 @@ stayinREJ2: // if we support SREJ send that instesd or REJ
+ // Dont send SREJ if clearing RNR - causes FRMR
+
+ if (SaveRNRSent)
+ return REJ;
+
if (LINK->Ver2point2) // We only allow 2.2 with SREJ Multi
return SREJ;
else
|
