mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: fix IPA stats set_quota failure
Fixing the failure of set_quota feature for IPA stats, currently calling set_quota during resource_loading, but it is supposed to be called if resource_loading is false. This is causing IPA stats set_quota feature is getting failed for Adrestea targets and fixing the same. Change-Id: I95ad60a8e15f4faaea34093785422ad494ee1fb4 CRs-Fixed: 2730655
This commit is contained in:
parent
38888ae732
commit
fedc5e32b8
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -853,9 +853,9 @@ static void wlan_ipa_uc_set_quota(struct wlan_ipa_priv *ipa_ctx,
|
|||
qdf_mutex_acquire(&ipa_ctx->ipa_lock);
|
||||
if (false == ipa_ctx->resource_loading) {
|
||||
qdf_mutex_release(&ipa_ctx->ipa_lock);
|
||||
} else {
|
||||
cdp_ipa_uc_set_quota(ipa_ctx->dp_soc, ipa_ctx->dp_pdev_id,
|
||||
quota_bytes);
|
||||
} else {
|
||||
qdf_mutex_release(&ipa_ctx->ipa_lock);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue