|
From: Anders J. <and...@us...> - 2001-10-16 14:43:49
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
rfcomm.c 1.124 1.125=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* When we receving a PN message we should fix the frame_size after=20
determine if it's a long packet.
The diff of the modified file(s):
--- rfcomm.c 2001/10/12 12:03:22 1.124
+++ rfcomm.c 2001/10/16 09:30:12 1.125
@@ -1571,7 +1571,6 @@
case PN: /*DLC parameter negotiation*/
{
pn_msg *pn_pkt =3D (pn_msg*) data;
- swap_pn_msg(pn_pkt);
D_CTRL(FNC"Received DLC parameter negotiation, PN\n");
if (longpkt) {
/* If a long length field is used, then move the
@@ -1579,6 +1578,7 @@
data++;
pn_pkt =3D (pn_msg*) data;
}=20=20
+ swap_pn_msg(pn_pkt);
if (pn_pkt->mcc_s_head.type.cr =3D=3D MCC_CMD) {
u8 tmp_dlci;
u16 frame_size;
|