linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 v1] Fix stop discovery not handled if discovery state is STARTING
@ 2012-12-06 11:05 Jaganath Kanakkassery
  2012-12-06 11:05 ` [PATCH 1/3 v1] Bluetooth: Rename stop_discovery_failed() to stop_discovery_complete() Jaganath Kanakkassery
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jaganath Kanakkassery @ 2012-12-06 11:05 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jaganath Kanakkassery

If user calls stop_discovery when the discovery state is STARTING, then it fails.
In this scenario discovery will continue. 

This patch handles stop_discovery even if state is STARTING

Jaganath Kanakkassery (3):
  Bluetooth: Rename stop_discovery_failed() to
    stop_discovery_complete()
  Bluetooth: Move discovery state check inside hci_dev_lock()
  Bluetooth: Fix stop discovery while in STARTING state

 include/net/bluetooth/hci_core.h |    3 ++-
 net/bluetooth/hci_core.c         |    9 ++++++++-
 net/bluetooth/hci_event.c        |   28 +++++++++++++++++++---------
 net/bluetooth/mgmt.c             |   15 ++++++++++-----
 4 files changed, 39 insertions(+), 16 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-18 13:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06 11:05 [PATCH 0/3 v1] Fix stop discovery not handled if discovery state is STARTING Jaganath Kanakkassery
2012-12-06 11:05 ` [PATCH 1/3 v1] Bluetooth: Rename stop_discovery_failed() to stop_discovery_complete() Jaganath Kanakkassery
2012-12-06 11:05 ` [PATCH 2/3 v1] Bluetooth: Move discovery state check inside hci_dev_lock() Jaganath Kanakkassery
2012-12-11 22:17   ` Gustavo Padovan
2012-12-06 11:05 ` [PATCH 3/3 v1] Bluetooth: Fix stop discovery while in STARTING state Jaganath Kanakkassery
2012-12-11 22:15   ` Gustavo Padovan
2012-12-18 13:27     ` Jaganath Kanakkassery

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).