|
From: Mats F. <ma...@us...> - 2001-07-20 06:43:17
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bcsp_sequence.c 1.14 1.15=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
If the sequence nbr is correct, signal rxack
The diff of the modified file(s):
--- bcsp_sequence.c 2001/07/06 07:00:07 1.14
+++ bcsp_sequence.c 2001/07/20 06:43:16 1.15
@@ -106,7 +106,6 @@
=20
static u8 rtx_count =3D BCSP_RTX_MAX;
=20
-
static u32 got_packet =3D FALSE;
=20
static struct timer_list resend_timer;
@@ -150,10 +149,13 @@
D(__FUNCTION__": txack:%d, expected_rxseq:%d, BCSP_GET_SEQ(bcsp):%d\n", t=
xack, expected_rxseq, BCSP_GET_SEQ(bcsp));
=20
if (expected_rxseq =3D=3D BCSP_GET_SEQ(bcsp)) {
+
cli();
txack =3D (BCSP_GET_SEQ(bcsp) + 1) % 8;
expected_rxseq =3D (expected_rxseq + 1) % 8;
sti();
+
+ bcsp_signal_rxack(BCSP_GET_ACK(bcsp));
=20=09=09
/* FIXME: Do we need to schedule when winsize > 0 ? */
if ((winspace > 0) && buf_count() && (hci_acl_num_cnt() > 0)) {
|