Skip to content
Commit 3c4bdc4b authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

Bluetooth: Fix issue with uninitialized nsh.type in DTL-1 driver



The current build shows a warning with the DTL-1 driver:

  CC [M]  drivers/bluetooth/dtl1_cs.o
drivers/bluetooth/dtl1_cs.c: In function ‘dtl1_hci_send_frame’:
drivers/bluetooth/dtl1_cs.c:396: warning: ‘nsh.type’ may be used uninitialized in this function

Fix this by adding a proper error for unknown packet types.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 1a097181
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment