|
From: Ulf H. <ul...@us...> - 2001-04-26 13:27:21
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bluetooth.c 1.172 1.173=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added function to read cached link key
The diff of the modified file(s):
--- bluetooth.c 2001/04/25 17:39:13 1.172
+++ bluetooth.c 2001/04/26 13:27:21 1.173
@@ -539,7 +539,22 @@
=20
return returnValue;
}
+#ifdef CONFIG_BLUETOOTH_USE_SECURITY_MANAGER=20=20
+ case BT_GETCACHEDLINKKEY:
+ {
+ unsigned char link_key_info[6 + 16];
=20
+ /* Now execute the request */
+ BT_DRIVER(FNC"Executing sec_man_get_cached_link_key\n");
+
+ sec_man_get_cached_link_key(link_key_info);
+
+ BT_DRIVER(FNC"Copying data back to user space\n");
+ copy_to_user((s32*)arg, link_key_info, 6 + 16);
+
+ return 0;
+ }
+#endif=20=20=20=20=20=20=20=20
case BTCONNECT:=20
{
/* argument is an object with all info to start a remote=20
|