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: Josselin Costanzi <josselin.costanzi@mobile-devices.fr>
Signed-off-by: Maxime Jayat <maxime.jayat@mobile-devices.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
josselin.costanzi@mobile-devices.fr 2013-09-18 12:00:35 +02:00 коммит произвёл David S. Miller
Родитель f516e2c9ec
Коммит a224bd36bf
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -154,6 +154,7 @@ static void lapb_t1timer_expiry(unsigned long param)
} else {
lapb->n2count++;
lapb_requeue_frames(lapb);
lapb_kick(lapb);
}
break;