From: Marcel Holtmann Date: Sun, 6 Jul 2014 13:50:27 +0000 (+0200) Subject: Bluetooth: Enforce providing hdev->send driver callback X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74292d5ac289ff5ec8b565889aaeab332e709099;p=pandora-kernel.git Bluetooth: Enforce providing hdev->send driver callback The hdev->send driver callback is mandatory to be provided by a driver before calling hci_register_dev. So enforce it and return EINVAL in case it is not available. All existing drivers are providing this callback anyway, so this is just an extra sanity check. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed