[PATCH 3.12 090/170] Bluetooth: Fix locking of hdev when calling into SMP code

2014-07-18 Thread Jiri Slaby
From: Johan Hedberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit c73f94b8c093a615ce80eabbde0ac6eb9abfe31a upstream. The SMP code expects hdev to be unlocked since e.g. crypto functions will try to (re)lock it. Therefore, we need to

[PATCH 3.12 090/170] Bluetooth: Fix locking of hdev when calling into SMP code

2014-07-18 Thread Jiri Slaby
From: Johan Hedberg johan.hedb...@intel.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit c73f94b8c093a615ce80eabbde0ac6eb9abfe31a upstream. The SMP code expects hdev to be unlocked since e.g. crypto functions will try to (re)lock it.