aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-02-03 12:02:42 -0800
committerJohan Hedberg <johan.hedberg@nokia.com>2010-02-03 12:07:51 -0800
commit989c60c0b9c96edf1fbdf80356abf05bac336673 (patch)
tree5d7250b3147de0d87a0fb7133b249ebcb053ab75 /src/storage.h
parentc7eadb0e913a7979510a66c74f2113b8b12523ab (diff)
downloadbluez-989c60c0b9c96edf1fbdf80356abf05bac336673.tar.gz
bluez-989c60c0b9c96edf1fbdf80356abf05bac336673.tar.xz
bluez-989c60c0b9c96edf1fbdf80356abf05bac336673.zip
Check for cached remote host features during discovery
If a remote name is cached and we didn't got a non-EIR event we should check for cached remote host features for SSP support to behave correctly with SSP & non-EIR devices.
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index d4542d42..ed507342 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -48,6 +48,7 @@ int read_l2cap_info(bdaddr_t *local, bdaddr_t *peer,
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 *page1, unsigned char *page2);
+int read_remote_features(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);