~javier-lopez/connman/connman-git

Viewing all changes in revision 6989.

  • Committer: Patrik Flykt
  • Author(s): David Lechner
  • Date: 2015-01-21 10:57:39 UTC
  • Revision ID: git-v1:1b8b5c4b7f4823fdbbe6d523795729616dabe12e
bluetooth: Fix bluetooth plugin returning error on technology_set

The technology_set implementation in the bluetooth plugin returns
-EINPROGRESS which causes problems.

1.  When setting the Tethering property via D-Bus, D-Bus returns an error
    instead of completing successfuly.
2.  When using the PersistentTetheringMode option, bluetooth tethering
    is not remembered. This is because /var/lib/connman/settings is not
    updated if technology_set returns an error.

This fixes the issue by returning 0 when bluetooth_tech_set_tethering
completes successfully.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: