From: Daniel Wagner <[email protected]>

Hi,

In this series I address several bug reported by Jeff. During
the bug fixing I realized that we need to track also the 
disconnect state (aka reason code). I also tried to make
the code more symentrical, meaning there is a matching
call for select_and_connect() -> deselect_and_disconnect(). 

With this I was able to simplify session_changed() heavily.

cheers,
daniel

Daniel Wagner (12):
  service: Don't iterate over changing sequence
  session: Fix null pointer derefencing
  session: Refactor select_service
  session: Disconnect free ride session
  session: Track info not the session for ecall
  session: Rename test_and_disconnect
  session: Remove deselect_previous_service()
  session: Pass session_info pointer into functions
  session: Add CONNMAN_SESSION_REASON_DISCONNECT
  session: Add debug messages
  session: Add reason code to deselect_and_disconnect()
  session: Simplefy session_changed()

 src/service.c |   13 ++++-
 src/session.c |  173 ++++++++++++++++++++++++++++-----------------------------
 2 files changed, 97 insertions(+), 89 deletions(-)

-- 
1.7.6

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to