qcacmn: Add spinlock release API in objmgr debug code
Spinlock is locked but not unlocked in objmgr debug code, this leads to deadlock. To avoid, while iterating over logically deleted nodes, if macaddr is NULL (macaddr could be NULL, either due object memory corruption or object itself is NULL) release list lock and raise BUG(). Also if name of object (psoc/pdev/vdev/peer) is NULL (object name could be NULL, if obj_type passed while adding object to logically deleted list is >= WLAN_OBJ_TYPE_MAX) release list lock and raise BUG() CRs-Fixed: 2233619 Change-Id: Ib6a67817234bf352b6e3a57360db0c082be19430
Loading
Please register or sign in to comment