]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Increment unacked_frames count only the first transmit
authorSuraj Sumangala <suraj@atheros.com>
Wed, 9 Mar 2011 09:14:05 +0000 (14:44 +0530)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 31 Mar 2011 17:25:25 +0000 (14:25 -0300)
commit2d2148736fc362f942cdd9db60db0d4bde274986
tree9ea4dc3c4ce0d06e2a7d69f2c160a76e1ef77ea4
parent2460fafc796bc3071509444ea2da8747cacf54a3
Bluetooth: Increment unacked_frames count only the first transmit

This patch lets 'l2cap_pinfo.unacked_frames' be incremented only
the first time a frame is transmitted.

Previously it was being incremented for retransmitted packets
too resulting the value to cross the transmit window size.

Signed-off-by: Suraj Sumangala <suraj@atheros.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c