Parent: 21da0977bb103d8e63bd168287821da58a5895be
Author: Ilia Kolomisnky <iliak@ti.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-02-08 12:49:54
Tree: f8809a47f2857322f4f4852ce991d8a6be4f1580
network: Add retries for BNEP connection setup According to BNEP spec. v1.0, section 2.6.3, the BNEP_SETUP_CONNECTION_REQUEST_MSG should be retransmitted if the response is not received for a period between 1 to 30 sec. Current implementation uses SO_RCVTIMEO socket option to sense reply time-out, which is incorrect because it does not have effect on g_io_add_watch monitored descriptors. This patch allows passing of TP/BNEP/CTRL/BV-02-C certification test.
Diffstat
| M | network/connection.c | | | 59 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - |
1 files changed, 51 insertions(+), 8 deletions(-)