Bluetooth: GAP: Cancel inquiry as part of Pairing process
It allows cancellation of inquiry only when the inquiry is active.
Also it cancels the inquiry before going for pairing, this will
make sure the BTA state machine is in proper state (SEARCH_IDLE)
to receive the SDP request.
CRs-Fixed: 568906
Change-id: I389ed8b10a37f900ab8b09768948ebbbc878d38b
Bluetooth:GAP: Cancel discovery in case of RNR is active
Change-id: I168dff127e1ae01bd9342e84b86bf4cdea9bcf9b
Send Search cancel event to the BTA layer in case of RNR
is active though the inquiry is completed on receiving
the cancel discovery from upper layers.
CRs-Fixed: 594866
Change-Id: If1af11453ca8e9de5a93c0e96105e6c78d38e3a7
4 files changed