Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e5b0199 authored by Bala Venkatesh's avatar Bala Venkatesh
Browse files

qcacmn: Release vdev ref in case of tdls_priv NULL pointer

In functions wlan_cfg80211_tdls_get_all_peers and
wlan_cfg80211_tdls_mgmt, if tdls_priv is NULL
then vdev ref is not released before returning from
the respective functions. This can lead to ref leak.

Release vdev ref before returning from function.

Change-Id: I90e2a7b28ba5c7eede52c77575354af9587ea9ca
CRs-Fixed: 2478388
parent 5dae8928
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment