diff options
| -rw-r--r-- | core/hdd/src/wlan_hdd_ext_scan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_ext_scan.c b/core/hdd/src/wlan_hdd_ext_scan.c index 5f93a11d71a5..8d2bc4319da2 100644 --- a/core/hdd/src/wlan_hdd_ext_scan.c +++ b/core/hdd/src/wlan_hdd_ext_scan.c @@ -1949,6 +1949,10 @@ __wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy, hdd_debug("Lost ap sample size %d", pReqMsg->lost_ap_sample_size); + if (!tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM]) { + hdd_err("attr ap threshold failed"); + goto fail; + } i = 0; nla_for_each_nested(apTh, tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM], |
