commit | dd4e7e329549283f99f21ba6c355b39813e6fee8 | [log] [tgz] |
---|---|---|
author | Alan Chen <alache@codeaurora.org> | Tue Nov 12 12:07:02 2019 -0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Thu Nov 14 10:42:59 2019 -0800 |
tree | 98b8acda9b04cc13fec7b03b48ed553658588389 | |
parent | 4461014f01b3b36358866bb10e81d0e55eecd61d [diff] |
qcacld-3.0: Create a new function for adapter reference verification The current HDD callback in hdd_rx_flush_packet_cbk() does not validate the adapter context properly. Instead of verifying the adapter magic, verify the adapter itself is still valid through the adapter list. Create a new function hdd_get_adapter_by_reference() to verify the adapter reference. Change-Id: I468bd55b2318635ad89087e6c6ad6097df68d405 CRs-Fixed: 2563654