|
From: Fredrik S. <fre...@us...> - 2002-03-14 14:25:06
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
hci.c 1.195 1.196=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Remove btmem buffers occupied by HCI handles that disconnects ungracefully.
The diff of the modified file(s):
--- hci.c 7 Mar 2002 21:32:29 -0000 1.195
+++ hci.c 14 Mar 2002 14:25:03 -0000 1.196
@@ -948,6 +948,10 @@
hci_ctrl.acl_buf_count[hci_hdl], hci_hdl);
hci_ctrl.hc_buf.acl_num +=3D hci_ctrl.acl_buf_count[hci_hdl];
hci_ctrl.acl_buf_count[hci_hdl] =3D 0;
+
+ /* get_bt_buf removes flushed buffers if located in=20
+ queue head */
+ get_bt_buf();
}
=20
/* FIXME: No more NBR_OF_COMPLETE_PACKETS will arrive for this
|