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

Commit a3ce2617 authored by Bala Venkatesh's avatar Bala Venkatesh Committed by nshrivas
Browse files

qcacmn: Get vdev ref only if after vdev is in created state

In function wlan_tdls_antenna_switch is getting the vdev ref
without checking the vdev state. Get vdev ref only, if it is
in created state.

Use api wlan_objmgr_vdev_try_get_ref to get vdev ref.

Change-Id: Ie3c324f39cfb105dbb853ce3caf1a6be6107ca67
CRs-Fixed: 2392838
parent 6565f5c5
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