projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-3.20' of git://linux-nfs.org/~bfields/linux
[firefly-linux-kernel-4.4.55.git]
/
net
/
bluetooth
/
smp.h
diff --git
a/net/bluetooth/smp.h
b/net/bluetooth/smp.h
index 3296bf42ae80d627c478c5199e167429ca16079b..60c5b73fcb4b26e3aab32604b58809ca30a4e6f4 100644
(file)
--- a/
net/bluetooth/smp.h
+++ b/
net/bluetooth/smp.h
@@
-192,4
+192,17
@@
int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa);
int smp_register(struct hci_dev *hdev);
void smp_unregister(struct hci_dev *hdev);
int smp_register(struct hci_dev *hdev);
void smp_unregister(struct hci_dev *hdev);
+#if IS_ENABLED(CONFIG_BT_SELFTEST_SMP)
+
+int bt_selftest_smp(void);
+
+#else
+
+static inline int bt_selftest_smp(void)
+{
+ return 0;
+}
+
+#endif
+
#endif /* __SMP_H */
#endif /* __SMP_H */