diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2010-02-03 10:52:59 -0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-02-03 10:56:56 -0800 |
commit | c7eadb0e913a7979510a66c74f2113b8b12523ab (patch) | |
tree | 78122fc37cffb2434e017d5ce47d798a87a91c17 /src/storage.h | |
parent | 0a477686869d1ceaabb9249bbcf2ace41807217b (diff) | |
download | bluez-c7eadb0e913a7979510a66c74f2113b8b12523ab.tar.gz bluez-c7eadb0e913a7979510a66c74f2113b8b12523ab.tar.xz bluez-c7eadb0e913a7979510a66c74f2113b8b12523ab.zip |
Implement caching of remote host features
Devices with SSP but no EIR requires looking at the remote host features
to get a correct value for the LegacyPairing property. Requesting a
remote name gives these features for free but if the name is already
cached we don't get them. This patch implements the caching part for the
features and a subsequent patch will actually make use of the cached
value for the device discovery process.
Diffstat (limited to 'src/storage.h')
-rw-r--r-- | src/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage.h b/src/storage.h index ae244c7f..d4542d42 100644 --- a/src/storage.h +++ b/src/storage.h @@ -47,7 +47,7 @@ int read_l2cap_info(bdaddr_t *local, bdaddr_t *peer, uint16_t *mtu_result, uint16_t *mtu, uint16_t *mask_result, uint32_t *mask); int write_version_info(bdaddr_t *local, bdaddr_t *peer, uint16_t manufacturer, uint8_t lmp_ver, uint16_t lmp_subver); -int write_features_info(bdaddr_t *local, bdaddr_t *peer, unsigned char *features); +int write_features_info(bdaddr_t *local, bdaddr_t *peer, unsigned char *page1, unsigned char *page2); int write_lastseen_info(bdaddr_t *local, bdaddr_t *peer, struct tm *tm); int write_lastused_info(bdaddr_t *local, bdaddr_t *peer, struct tm *tm); int write_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key, uint8_t type, int length); |