From: Johan Hedberg Date: Tue, 5 Mar 2013 18:37:42 +0000 (+0200) Subject: Bluetooth: Fix __hci_req_sync() handling of empty requests X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~116^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53cce22dc795e73fb48205e3f584f63f4c71c90c;p=pandora-kernel.git Bluetooth: Fix __hci_req_sync() handling of empty requests If a request callback doesn't send any commands __hci_req_sync() should fail imediately instead of waiting for the inevitable timeout to occur. This is particularly important once we start creating requests with conditional command sending which can potentially result in no commands being sent at all. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed