|
From: Mattias A. <mat...@us...> - 2001-06-13 12:34:55
|
The following file was modified in apps/bluetooth/experimental:
Name Old version New version Comment
---- ----------- ----------- -------
bt_vendor.c 1.19 1.20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* replaced hardcoded val with define (SIGUSR1)
The diff of the modified file(s):
--- bt_vendor.c 2001/06/13 12:23:54 1.19
+++ bt_vendor.c 2001/06/13 12:34:55 1.20
@@ -186,7 +186,7 @@
did_restart =3D 1;
=20
/* Restart btd */
- kill(getpid(), 10);=20
+ kill(getpid(), SIGUSR1);=20
break;
=20=20=20=20=20
default:
@@ -195,7 +195,7 @@
did_restart =3D 1;
=20
/* Restart btd */
- kill(getpid(), 10);=20=20=20
+ kill(getpid(), SIGUSR1);=20=20=20
break;
}
}
@@ -458,7 +458,7 @@
unsigned int wrscan =3D (PAGE_SCAN_ENABLE | INQUIRY_SCAN_ENABLE);
=20=20=20
if ((hw_vendor() =3D=3D HW_CSR_BCSP) && (csr_disable_deep_sleep(bt_cfd)))
- kill(getpid(), 10); /* Restart btd (and HW) to activate changes */
+ kill(getpid(), SIGUSR1); /* Restart btd (and HW) to activate change=
s */
=20=20=20=20=20=20=20
D(syslog(LOG_INFO, "Setting write_scan_enable in CSR module"));
=20
|