diff options
| author | 2014-07-06 15:50:27 +0200 | |
|---|---|---|
| committer | 2014-07-06 17:11:37 +0300 | |
| commit | 74292d5ac289ff5ec8b565889aaeab332e709099 (patch) | |
| tree | a29dd1f047ee57b57c85c438e4573309c9cbf28c /kernel/sysctl_binary.c | |
| parent | Bluetooth: Fix memory leaking when hdev->send returns an error (diff) | |
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 <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
