commit | 75fb0e324daa48ec458fb5c2960eb07b80cfad9d | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Mar 01 21:35:55 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Mar 01 21:44:55 2012 +0200 |
tree | 78229ecbcf7b08b1aa3a47ce9e5927e8e64dd6a2 | |
parent | 8b90129cc5789a4c65547c91c9a7b1fd3a4d56a4 [diff] |
Bluetooth: Fix init sequence for some CSR based controllers Some CSR controllers will generate a spontaneous reset during init and just eat up any pending command without sending a command complete for it. This patch solves the issue by just resending whatever was the last sent command. hci_send_cmd is not used since we need to bypass all other commands in the send queue. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>