diff options
author | 2012-02-13 15:41:01 -0300 | |
---|---|---|
committer | 2012-02-15 15:23:27 +0200 | |
commit | 203159d486006a18fa1ccf787a10d15d3128cdac (patch) | |
tree | 7879f84c8c9161215664fd98d9b760c0a0efa1c0 /net/bluetooth/lib.c | |
parent | Bluetooth: Implement Read Supported Commands commands for mgmt (diff) | |
download | wireguard-linux-203159d486006a18fa1ccf787a10d15d3128cdac.tar.xz wireguard-linux-203159d486006a18fa1ccf787a10d15d3128cdac.zip |
Bluetooth: Fix discovery state machine
In case of Start Discovery command failure, we should set the discovery
state to DISCOVERY_STOPPED. Otherwise, we stuck at DISCOVERY_STARTING
state and subsequent Start Discovery commands will simply fail.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/lib.c')
0 files changed, 0 insertions, 0 deletions