Bluetooth: SMP: Fix pairing using debug keys
Bluetooth: SMP: Fix pairing using debug keys

Fix issue when checking if SMP pairing procedure is allowed to use the
SMP debug keys. This check did not consider the case where the keys
pointer was assigned, but did not contain a valid LTK key.
This resulted in being unable to pair with debug keys without an
existing bond.

Signed-off-by: Joakim Andersson <cf0fcab5d38d6e132e92a97bcb0bae257abf4936@nordicsemi.no>

zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,finikorg/zephyr,nashif/zephyr,nashif/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,galak/zephyr,nashif/zephyr,finikorg/zephyr,Vudentz/zephyr,galak/zephyr,galak/zephyr,finikorg/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,finikorg/zephyr,galak/zephyr,galak/zephyr,nashif/zephyr,Vudentz/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr