diff options
| author | Govind Singh <govinds@codeaurora.org> | 2017-08-15 11:13:28 +0530 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-08-16 14:29:18 -0700 |
| commit | dfcae3db19ddcf5dd63a3a4b23361b70d5590dca (patch) | |
| tree | bf03b675eb74788fce796f4f6ddc3b54883b27ed | |
| parent | 66012ce85b066a4298edf63ff9c6d4fb2418c28f (diff) | |
qcacld-3.0: Free exception path buffer for invalid adapter
IPA's exception path buffer is not freed if adapter is invalid.
Free exception path buffer if adapter is invalid.
Change-Id: Iacaea4d96a6233764da3cf4b302d7ed9affe6d95
CRs-Fixed: 2092131
| -rw-r--r-- | core/hdd/src/wlan_hdd_ipa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c index c1bcbf36e240..a37370039a4f 100644 --- a/core/hdd/src/wlan_hdd_ipa.c +++ b/core/hdd/src/wlan_hdd_ipa.c @@ -4652,6 +4652,8 @@ static void hdd_ipa_pm_flush(struct work_struct *work) if (pm_tx_cb->adapter->dev) hdd_softap_hard_start_xmit(skb, pm_tx_cb->adapter->dev); + else + ipa_free_skb(pm_tx_cb->ipa_tx_desc); } else { hdd_ipa_send_pkt_to_tl(pm_tx_cb->iface_context, pm_tx_cb->ipa_tx_desc); |
