commit | d4c817e5b75a23cc49d1f63276ada234cb295dcb | [log] [tgz] |
---|---|---|
author | Hanumanth Reddy Pothula <c_hpothu@codeaurora.org> | Fri Jul 14 20:30:59 2017 +0530 |
committer | Hanumanth Reddy Pothula <c_hpothu@codeaurora.org> | Fri Jul 14 20:30:59 2017 +0530 |
tree | aeecea2b8d8b86f76bcabf20ae47685f1842b2ed | |
parent | d1a24e77b93d0fa3028108cdf9e60bdbf5aa85ce [diff] |
wlan: Validate scan_req adapter qcacld-2.0 to prima propagation. In function wlan_hdd_cfg80211_validate_scan_req, wiphy pointer in scan_req is not being validated with the wiphy stored in hdd_ctx. This can cause a freed scan request to be validated leading to a crash due to a kernel WARN_ON. Check hdd_ctx->wiphy with scan_req->wiphy. Change-Id: I0ea9586cb7114c2e1babfce19b2777596f842c7b CRs-Fixed: 1092461