Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a224bd36 authored by josselin.costanzi@mobile-devices.fr's avatar josselin.costanzi@mobile-devices.fr Committed by David S. Miller
Browse files

net/lapb: re-send packets on timeout



Actually re-send packets when the T1 timer runs out. This fixes a bug
where packets are waiting on the write queue until disconnection when
no other traffic is outstanding.

Signed-off-by: default avatarJosselin Costanzi <josselin.costanzi@mobile-devices.fr>
Signed-off-by: default avatarMaxime Jayat <maxime.jayat@mobile-devices.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f516e2c9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -154,6 +154,7 @@ static void lapb_t1timer_expiry(unsigned long param)
			} else {
				lapb->n2count++;
				lapb_requeue_frames(lapb);
				lapb_kick(lapb);
			}
			break;