commit | bee82832482f0b2cc0c888e5d5a94856ec006160 | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Mon Jul 23 10:10:51 2018 -0700 |
committer | nshrivas <nshrivas@codeaurora.org> | Mon Jul 23 20:56:34 2018 -0700 |
tree | 6c4626746a26a4d1825283928e61e03b53f4a2fc | |
parent | ae9fabb2472ce8afcd1132dc7ce889bf10357a50 [diff] |
qcacld-3.0: Check session Id against max adapters The current HDD session Id sanity check only checks for the magic "invalid session Id" value. However, anything greater than or equal to MAX_NUMBER_OF_ADAPTERS is an invalid session Id. Update the sanity check to reject any session Id greater than or equal to MAX_NUMBER_OF_ADAPTERS. Change-Id: I7c5a3b82afde073e92fcd0dbf55002fa11a980b2 CRs-Fixed: 2283584