Commit 9484fecc authored by Sumit Bajpai's avatar Sumit Bajpai Committed by Mallikarjuna GB
Browse files

Bluetooth: hidp: safely acquire hci connection



Claim device lock to safely enumerate hci connection list and bump
hci connection proxy device ref count simultaneously.

Also it prevents kernel crash due to null pointer
conn->hdev in deleting conn entry from sysfs.

CRs-Fixed: 446403
Change-Id: I5ec4283d359f95e47711dff171d0619b15263349
Signed-off-by: default avatarSumit Bajpai <sbajpai@codeaurora.org>
Signed-off-by: default avatarMallikarjuna GB <gbmalli@codeaurora.org>
parent a28ff289
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment