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
1 file changed
tree: aeecea2b8d8b86f76bcabf20ae47685f1842b2ed
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile