]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove return value from hci_send_frame() function
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 21:54:19 +0000 (14:54 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 22:19:44 +0000 (00:19 +0200)
commit5f509adef940732054dc7e0011226e05ebf92e7f
tree473b3923406258283b8ebe6983c4ea180b48e389
parentef89f82b05594840da3283d6e40de7d4d17c4a75
Bluetooth: Remove return value from hci_send_frame() function

The return value of hci_send_frame() is never checked. So just make
this function void and print an error when the hdev->send driver
callback returns a negative value.

Having the error printed is actually an improvement over the
current situation where any driver error just gets ignored.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c