Thread (2 messages) 2 messages, 2 authors, 2009-05-14

Question on hci_remote_features_evt()

From: Yu Kang Ku <hidden>
Date: 2009-05-14 20:17:32

Hi,

In http://lxr.linux.no/linux+v2.6.27/net/bluetooth/hci_event.c, hci_remote_features_evt() contains the following code:

if (!ev->status && lmp_ssp_capable(hdev) &&
			lmp_ssp_capable(conn)) {
	struct hci_cp_read_remote_ext_features cp;
	cp.handle = ev->handle;
	cp.page = 0x01;
	hci_send_cmd(hdev,
		HCI_OP_READ_REMOTE_EXT_FEATURES,
				sizeof(cp), &cp);
}

Should the if-statement check to make sure LMP Extended Features is supported before sending the HCI_OP_READ_REMOTE_EXT_FEATURES command?  Or does the fact that a remote device is SSP-capable imply LMP Extended Features is supported as well?

Thanks,
Kang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help