7f9696c182
legacy_pairing_rsp is used only for legacy pairing. Fix following with CONFIG_BLUETOOTH_SMP_SC_ONLY set. CC net/bluetooth/smp.o net/bluetooth/smp.c: In function 'legacy_pairing_rsp': net/bluetooth/smp.c:1207:16: warning: implicit declaration of function 'legacy_get_pair_method' [-Wimplicit-function-declaration] smp->method = legacy_get_pair_method(smp, remote_io); ^ net/bluetooth/smp.c:1209:8: warning: implicit declaration of function 'legacy_request_tk' [-Wimplicit-function-declaration] ret = legacy_request_tk(smp); ^ net/bluetooth/smp.c:1216:10: warning: implicit declaration of function 'legacy_send_pairing_confirm' [-Wimplicit-function-declaration] return legacy_send_pairing_confirm(smp); ^ net/bluetooth/smp.c: At top level: net/bluetooth/smp.c:1201:16: warning: 'legacy_pairing_rsp' defined but not used [-Wunused-function] static uint8_t legacy_pairing_rsp(struct bt_smp *smp, uint8_t remote_io) ^ Change-Id: I0d65efa71859c23cf5b6f0bfa3386a23543bf907 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com> |
||
---|---|---|
arch | ||
boards | ||
doc | ||
drivers | ||
include | ||
kernel | ||
lib | ||
misc | ||
net | ||
samples | ||
scripts | ||
tests | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
Makefile | ||
Makefile.inc | ||
zephyr-env.sh |