hci_sock.c (df1cb87af9f24527a8932e4d195d49ffab1168d2) | hci_sock.c (9e8305b39bfa23a83b932007654097f4676c2ba2) |
---|---|
1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License version 2 as --- 1103 unchanged lines hidden (view full) --- 1112 /* The monitor interface is restricted to CAP_NET_RAW 1113 * capabilities and with that implicitly trusted. 1114 */ 1115 hci_sock_set_flag(sk, HCI_SOCK_TRUSTED); 1116 1117 send_monitor_note(sk, "Linux version %s (%s)", 1118 init_utsname()->release, 1119 init_utsname()->machine); | 1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License version 2 as --- 1103 unchanged lines hidden (view full) --- 1112 /* The monitor interface is restricted to CAP_NET_RAW 1113 * capabilities and with that implicitly trusted. 1114 */ 1115 hci_sock_set_flag(sk, HCI_SOCK_TRUSTED); 1116 1117 send_monitor_note(sk, "Linux version %s (%s)", 1118 init_utsname()->release, 1119 init_utsname()->machine); |
1120 send_monitor_note(sk, "Bluetooth subsystem version %s", 1121 BT_SUBSYS_VERSION); | 1120 send_monitor_note(sk, "Bluetooth subsystem version %u.%u", 1121 BT_SUBSYS_VERSION, BT_SUBSYS_REVISION); |
1122 send_monitor_replay(sk); 1123 send_monitor_control_replay(sk); 1124 1125 atomic_inc(&monitor_promisc); 1126 break; 1127 1128 case HCI_CHANNEL_LOGGING: 1129 if (haddr.hci_dev != HCI_DEV_NONE) { --- 796 unchanged lines hidden --- | 1122 send_monitor_replay(sk); 1123 send_monitor_control_replay(sk); 1124 1125 atomic_inc(&monitor_promisc); 1126 break; 1127 1128 case HCI_CHANNEL_LOGGING: 1129 if (haddr.hci_dev != HCI_DEV_NONE) { --- 796 unchanged lines hidden --- |