mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 09:49:21 +08:00
wireless/bluetooth/bt_smp.c: Avoid assuming wlinfo expansion
This commit is contained in:
parent
14b7ea01ba
commit
2a2679e11a
1 changed files with 0 additions and 4 deletions
|
@ -138,9 +138,7 @@ struct bt_smphandlers_s
|
|||
* Private Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_DEBUG_WIRELESS_INFO
|
||||
static const char *h(FAR const void *buf, size_t len);
|
||||
#endif
|
||||
static void xor_128(FAR const struct uint128_s *p,
|
||||
FAR const struct uint128_s *q, FAR struct uint128_s *r);
|
||||
static int le_encrypt(const uint8_t key[16], const uint8_t plaintext[16],
|
||||
|
@ -323,7 +321,6 @@ static const uint8_t g_mac4[] =
|
|||
* in a single syslog call.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_DEBUG_WIRELESS_INFO
|
||||
static const char *h(FAR const void *buf, size_t len)
|
||||
{
|
||||
static const char hex[] = "0123456789abcdef";
|
||||
|
@ -352,7 +349,6 @@ static const char *h(FAR const void *buf, size_t len)
|
|||
str[i * 2] = '\0';
|
||||
return str;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void xor_128(FAR const struct uint128_s *p,
|
||||
FAR const struct uint128_s *q,
|
||||
|
|
Loading…
Reference in a new issue