From: Marcel Holtmann Date: Sun, 14 Jun 2009 13:24:44 +0000 (+0200) Subject: Bluetooth: Fix issue with uninitialized nsh.type in DTL-1 driver X-Git-Tag: v2.6.31-rc1~330^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4bdc4bd4af791a72147b6ebc29553808f53cea;p=pandora-kernel.git 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: Marcel Holtmann --- Reading git-diff-tree failed