|
From: Peter K. <pk...@us...> - 2001-03-14 11:47:51
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bluetooth.c 1.146 1.147=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
A little more debug in bt_hangup().
The diff of the modified file(s):
--- bluetooth.c 2001/03/13 11:05:45 1.146
+++ bluetooth.c 2001/03/14 11:49:54 1.147
@@ -803,6 +803,7 @@
{
s32 result;
u8 param[size];
+
BT_DRIVER(FNC"HCIREADSTOREDLINKKEY\n");
copy_from_user(param, (s32*)arg, size);
=20
@@ -828,6 +829,7 @@
{
s32 result;
u8 param[size];
+
BT_DRIVER(FNC"HCIDELETESTOREDLINKKEY\n");
copy_from_user(param, (s32*)arg, size);
=20
@@ -841,6 +843,7 @@
/* FIXME: If we send the length of the string too, we don't
have to copy all the 248 byte... */
u8 local_name[248];
+
copy_from_user(local_name, (s32*)arg, 248);
hci_change_local_name(local_name);
break;
@@ -1034,7 +1037,8 @@
void
bt_hangup(struct tty_struct *tty)
{
- BT_DRIVER("bt_hangup (nothing done)\n");
+ BT_DRIVER("bt_hangup on line %d (nothing done) pid %d (%s)\n",
+ GET_TTYLINE(tty), current->pid, current->comm);
}
=20
/********************************************/
|