mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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:
parent
b89ccc3732
commit
bcb4c0db1c
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue