|
From: Mats F. <ma...@us...> - 2001-06-07 09:11:51
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bcsp_sequence.c 1.11 1.12=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Corrected debug
* Added comments
The diff of the modified file(s):
--- bcsp_sequence.c 2001/06/06 14:55:18 1.11
+++ bcsp_sequence.c 2001/06/07 09:11:48 1.12
@@ -139,7 +139,7 @@
bcsp_sequence_receive(struct bcsp *bcsp)
{
if (!bcsp_issyncronized()){=09
- D(printk("Still not synced\n"));
+ D(__FUNCTION__": Still not synced\n");
return 0;
}
=20=09
@@ -151,6 +151,7 @@
expected_rxseq =3D (expected_rxseq + 1) % 8;
sti();
=20
+ /* FIXME: Do we need to schedule when winsize > 0 ? */
if ((winspace > 0) && (buf_count())) {
/* ack is piggybacked in next tx data packet */
D("<-data ack\n");
@@ -163,8 +164,7 @@
bcsp->identifier);
} else { /* out of order rx seq nbr */=20
if ((winspace > 0) && (hci_trig_send())) {
- print_data(__FUNCTION__, bcsp->payload,=20
- bcsp->payload_length);
+ /* ack is piggybacked in next tx data packet */
printk("seq out-of-order [exp:%d, got:%d]\n",=20
expected_rxseq, BCSP_GET_SEQ(bcsp));
} else {
|