HID: Handle collisions during incoming and outgoing connections
- This patch handles cases when incoming HID connection is in progress, and there is an outgoing connection attempt from upper layers. This was leading to a case when ougoing connection would fail as connection was already in progress, which triggered cleanup of connection states, which was not proper leading to issues in future connection attempts, as disconnection during ongoing connection was not handled properly in existing code. - Reset the incoming flags during open failure to prevent any possible issues during further outgoing connections. Change-Id: I6fb0c6156482d2da41ca0d2d280091d73c27f292
Loading
Please register or sign in to comment