From: Andre Guedes Date: Fri, 8 Mar 2013 14:20:14 +0000 (-0300) Subject: Bluetooth: Return ENODATA in hci_req_run X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~116^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=382b0c39b3f5b239e3fc07712027fcd4d503bd26;p=pandora-kernel.git Bluetooth: Return ENODATA in hci_req_run In case the HCI request queue is empty, hci_req_run should return ENODATA instead of EINVAL. This way, hci_req_run returns a more meaningful error value. Signed-off-by: Andre Guedes Acked-by: Johan Hedberg Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed