diff options
author | 2016-09-01 11:24:57 +0200 | |
---|---|---|
committer | 2016-09-19 20:19:34 +0200 | |
commit | bdca1fd9a6df745857e23c6056494b7fe062b4e6 (patch) | |
tree | 208199f3d93f8033688dd731405aa2328c467497 /net/bluetooth/hci_request.c | |
parent | Bluetooth: Append local name and CoD to Extended Controller Info (diff) | |
download | wireguard-linux-bdca1fd9a6df745857e23c6056494b7fe062b4e6.tar.xz wireguard-linux-bdca1fd9a6df745857e23c6056494b7fe062b4e6.zip |
fakelb: fix schedule while atomic
This patch changes the spinlock to mutex for the available fakelb phy
list. When holding the spinlock the ieee802154_unregister_hw is called
which holding the rtnl_mutex, in that case we get a "BUG: sleeping function
called from invalid context" error. We simple change the spinlock to
mutex which allows to hold the rtnl lock there.
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions