commit | ff5da56d07a15d4e5d4c346308029dac2834a202 | [log] [tgz] |
---|---|---|
author | Yun Park <yunp@codeaurora.org> | Wed Jan 18 14:44:20 2017 -0800 |
committer | snandini <snandini@codeaurora.org> | Mon May 01 13:06:39 2017 -0700 |
tree | f8092223486b8ea99474385b0e5c7258b525fd3e | |
parent | f91dc4b13f150c7ec70ae15ec30f8c01fbe068bb [diff] |
qcacld-3.0: Return false when vdev and pool is NULL in fwd_thresh_check vdev and pool could be NULL during processing the forwarding packets processed during the driver deinit. Add a code to return false if pool is NULL in ol_txrx_fwd_desc_thresh_ check(), then the caller will discard the packet without any further processing. Also return false when vdev is NULL. Change-Id: I45afcbe0e8b953bd1be7b3f1f5315f35879edec5 CRs-Fixed: 1112619