|
From: Peter K. <pk...@us...> - 2001-06-15 12:31:56
|
The following files were modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- btcommon.h 1.75 1.76=20=20=20=20=20=20=20=20=20=20=20=20 hci.h 1.60 1.61=20=20=20=20=20=20=20=20=20=20=20=20 hci_internal.h 1.18 1.19=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added line argument to get_remote_bd() and corresponding ioctl to retrieve the BD address for a specific line, instead of the last one connected. The diff of the modified file(s): --- btcommon.h 2001/06/06 14:58:45 1.75 +++ btcommon.h 2001/06/15 12:31:55 1.76 @@ -123,7 +123,7 @@ #define BTSETSERTTY _IO(BT_IOC_MAGIC, 0x04) #define BTSETMODEMDUMMY _IOW(BT_IOC_MAGIC, 0x05, s32) #define BTSHUTDOWN _IO(BT_IOC_MAGIC, 0x06) -#define BTREADREMOTEBDADDR _IOR(BT_IOC_MAGIC, 0x07, u8[6]) +#define BTREADREMOTEBDADDR _IOWR(BT_IOC_MAGIC, 0x07, u8[6]) #define BTRESETPHYSICALHW _IO(BT_IOC_MAGIC, 0x08) #define BTISINITIATED _IOR(BT_IOC_MAGIC, 0x09, s32) #define BTHWVENDOR _IOR(BT_IOC_MAGIC, 0x0A, char[20]) --- hci.h 2001/06/14 10:53:33 1.60 +++ hci.h 2001/06/15 12:31:55 1.61 @@ -170,7 +170,7 @@ =20 /* Internal */ /* FIXME -- add parameter to choose from different devices */ -s32 get_remote_bd(u8 *bd); +s32 get_remote_bd(int line, u8 *bd); =20 /* Testing commands */ s32 hci_enable_dut(void); --- hci_internal.h 2001/06/08 12:50:15 1.18 +++ hci_internal.h 2001/06/15 12:31:55 1.19 @@ -332,7 +332,6 @@ hci_in_buffer hci_in_buf[NBR_OF_HCI_INBUFFERS]; u32 nbr_of_connections; u8 local_bd[6]; - s32 active_connection; hci_con con[MAX_NBR_OF_CONNECTIONS]; } hci_controller; =20 |