commit | ca919bd184b8508c0f919c2f3a3e6a1a4504a0af | [log] [tgz] |
---|---|---|
author | Nitesh Shah <niteshs@codeaurora.org> | Wed Jun 07 15:25:07 2017 +0530 |
committer | snandini <snandini@codeaurora.org> | Thu Jun 15 03:55:01 2017 -0700 |
tree | 49e1fbf8c78c5577364331cf962d86ccd27ca441 | |
parent | c45b01eb2bba3d0996d0890b1bef31b8cb7201e1 [diff] |
qcacmn: Validate mode and vdev while decrementing session The function policy_mgr_decr_active_session() decrements mode and then remove the session from the pm_conn_connection_info table after validating vdev. This change adds a check to validate if the session is present with specific mode and vdev_id, and then decrement the session. If not present, then return without doing any change. Change-Id: If53d7fc9356b2c3bb72b22b228103389396910ce CRs-Fixed: 2057599