|
From: Mattias A. <mat...@us...> - 2001-04-25 16:49:25
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
btmem.c 1.40 1.41=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* added call to get_bt_buf in btmem_flushhandle which removes all buffers=
=20
located in queue head
The diff of the modified file(s):
--- btmem.c 2001/03/30 11:04:27 1.40
+++ btmem.c 2001/04/25 16:49:24 1.41
@@ -208,6 +208,9 @@
D_MEM("btmem_flushhandle : flushed %d buffers\n", i);
=20
sti();
+ /* get_bt_buf removes flushed buffers if located in=20
+ queue head */
+ get_bt_buf();
}
=20
=20
@@ -412,7 +415,8 @@
/* Check if chunk is valid */
if (tx->flushed) {
/* This buffer is flushed */
- DSYS("get_bt_buf : Flushing this buffer\n");
+ DSYS("get_bt_buf : Flushing this buffer [handle %d]\n",
+ tx->hci_hdl);
#if BTMEM_FLUSH_ENABLED
unsubscribe_bt_buf(tx);
return get_bt_buf(); /* Yeehaa, more recursion :) */
|