|
From: Peter K. <pk...@us...> - 2001-05-18 13:48:48
|
The following files were modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bcsp_sequence.c 1.5 1.6=20=20=20=20=20=20=20=20=20=20=20=20=20
bcsp_slip.c 1.2 1.3=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Minor clean-up.
The diff of the modified file(s):
--- bcsp_sequence.c 2001/05/18 09:14:20 1.5
+++ bcsp_sequence.c 2001/05/18 13:48:46 1.6
@@ -126,14 +126,12 @@
}
=20=09
if (expected_rxseq =3D=3D BCSP_GET_SEQ(bcsp)) {
-=09=09
cli();
txack =3D (BCSP_GET_SEQ(bcsp) + 1) % 8;
expected_rxseq =3D (expected_rxseq + 1) % 8;
sti();
=20
bcsp_receive_top(bcsp->payload, bcsp->payload_length, bcsp->identifier);
-=09=09
}
=20
/* FIXME: Do we need a task_queue for sending the ack packets ? */
@@ -216,7 +214,6 @@
D(__FUNCTION__": winspace after:%d\n", winspace);
}
=20
-=09
rxack =3D new_ack;
=20
if (winspace =3D=3D WINSIZE) {
@@ -231,7 +228,6 @@
u8 resend_cnt =3D rxack;
=20=09
while (resend_cnt !=3D txseq) {
-=09
printk(__FUNCTION__": Resending with seq_nbr:%d, last ack was %d, cur se=
q_nbr:%d\n", resend_cnt, rxack, txseq);
=20=09=09
init_bcsp_packet(&bcsp);
--- bcsp_slip.c 2001/05/17 15:25:15 1.2
+++ bcsp_slip.c 2001/05/18 13:48:46 1.3
@@ -1,9 +1,9 @@
/*
* bcsp_slip -- Implementation of the SLIP layer in the BCSP protocol stack
*
- * Copyright (C) 2000, 2001 Axis Communications AB
+ * Copyright (C) 2001 Axis Communications AB
*
- * Author: Peter Kjellerstedt <Pet...@ax...>
+ * Author: Peter Kjellerstedt <pet...@ax...>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -55,7 +55,6 @@
#define PRINTPKT(data, len)
#endif
=20
-
/****************** TYPE DEFINITION SECTION ******************************=
***/
=20
/****************** LOCAL FUNCTION DECLARATION SECTION *******************=
***/
@@ -69,7 +68,6 @@
static void
slip_send_add_byte(struct bcsp* bcsp, u8 data)
{
-
switch (data) {
case 0xC0:
bcsp->packet[bcsp->packet_length++] =3D 0xDB;
|