Hi Claudio,

On 01/28/2013 03:11 PM, Claudio Takahasi wrote:
This patch adds the initial SCO server socket handling. BtIO and BlueZ
functions should not be used, with the new Profile API the objetive is
to get rid of these dependencies.
---
  plugins/hfp_hf_bluez5.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 77 insertions(+)


Patch has been applied, however I had to amend:

+       if (setsockopt(sk, SOL_BLUETOOTH, BT_DEFER_SETUP,
+                               &defer_setup, sizeof(defer_setup))<  0) {
+               ofono_warn("Can't enable deferred setup: %s (%d)",
+                                               strerror(errno), errno);
+       }

These brackets are not necessary. Also, in the future you might want to set a flag here indicating that only HFP 1.5 support is available.

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to