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

Commit 98f11e97 authored by Will Huang's avatar Will Huang Committed by Gerrit - the friendly Code Review server
Browse files

qcacld-3.0: Release vdev reference when sap_get_channel_list failed

If sap_get_channel_list return 0 channel, didn't release vdev reference
acquired by wlan_objmgr_get_vdev_by_macaddr_from_psoc() in function
sap_channel_sel().

Release the vdev reference at the end of function sap_channel_sel().

Change-Id: Ib8d240e464ea893d97fef5f563bfb080646bae46
CRs-Fixed: 2457532
parent 6a86562a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment