qcacld-3.0: Reject set_nud_stats request during roaming

Set_nud_stats request is received at driver when
roaming is in progress. WMI command sent for this
request causes an assert in firmware.

Fix is to reject set_nud_stats request received during
roaming.

Change-Id: I41e3b665ef02abcac5b59ce151c3938497be6283
CRs-Fixed: 2674624
This commit is contained in:
Yeshwanth Sriram Guntuka 2020-04-29 10:41:46 +05:30 • committed by nshrivas
commit bcb4c0db1c

View file

@ -12710,6 +12710,9 @@ static int __wlan_hdd_cfg80211_set_nud_stats(struct wiphy *wiphy,
return 0;
}
if (hdd_is_roaming_in_progress(hdd_ctx))
return -EINVAL;
err = wlan_cfg80211_nla_parse(tb, STATS_SET_MAX, data, data_len,
qca_wlan_vendor_set_nud_stats_policy);
if (err) {