net: Fix Bluetooth driver warning
This fixes warnings when compiling without CONFIG_NETWORKING_WITH_LOGGING. Change-Id: I50ee7004ba5c662ef2d6ff32b5dd3e1e41a92b5b Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
bf2c827dcf
commit
410d6849a6
1 changed files with 2 additions and 0 deletions
|
@ -173,7 +173,9 @@ static int net_driver_bt_open(void)
|
|||
|
||||
static int net_driver_bt_send(struct net_buf *buf)
|
||||
{
|
||||
#ifdef CONFIG_NETWORKING_WITH_LOGGING
|
||||
int orig_len = ip_buf_len(buf);
|
||||
#endif
|
||||
|
||||
if (!NETSTACK_COMPRESS.compress(buf)) {
|
||||
NET_DBG("compression failed\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue