qcacmn: Use vdev instead of pdev as parameter
For the case that there is leakage of vdev due to incorrect reference count usage, and another vdev for the adapter is created, get ref of vdev by mac address might get the incorrect vdev object since both vdevs will have the same mac address and the leak one will be first matched since it is created first. To address this issue, use vdev pointer in adapter instead of pdev as input parameter of related functions. Change-Id: I855497358b5dabf3fc5c0f71a859dd7cae1b450a CRs-Fixed: 2312155
Loading
Please register or sign in to comment