commit | 5325f52f5fe6bd474a565fef194e69ff612ca729 | [log] [tgz] |
---|---|---|
author | Agarwal Ashish <ashishka@qti.qualcomm.com> | Wed Aug 06 00:58:44 2014 +0530 |
committer | Satyanarayana Dash <c_sadash@qti.qualcomm.com> | Thu Aug 07 14:18:39 2014 +0530 |
tree | d3989f5541b75968f58eb998678af62138ff34cc | |
parent | 38c219de0b73dfbec6442360b41cd6eb4cd4c4bc [diff] |
wlan: Don't decrease no of sessions if no of session is zero. If due to some reason wlan_hdd_decr_active_session is being called when active sessions are zero; wlan_hdd_decr_active_session will make active sessions as 255. Next time driver will not be able to connect as no of connected sessions will be 255. Fix is to Don't decrease no of sessions if no of session is zero. CRs-Fixed: 704947 Change-Id: I29b5112b042b84872d243b53ba5b912e4823a41f