Parent: 83d23c059be742a3178c6feab1f45addd5bc7454
Author: Paulo Alcantara <paulo.alcantara@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-07-24 12:48:21
Tree: b6623a79af4cb26918ed01ec7b5be3824772d257
btio: Rescue lost errorneous numbers The BT_IO_ERROR_* flags are not used for anything else and we just loosing errorneous numbers set in the sockets that might be more useful for handling specific errors. A use case would be disconnect errors that should not allow BlueZ to enable auto connections since the connection would never be possible in some cases. This patch removes BT_IO_ERROR_* flags and use the errors set in the sockets instead. Now, the errors passed in connect/disconnect callbacks should contain proper error numbers passed to them.
Diffstat
| M | btio/btio.c | | | 78 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | btio/btio.h | | | 7 | - - - - - - - |
2 files changed, 48 insertions(+), 37 deletions(-)