diff options
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index f1672b15c0f3..90eabcae3ed2 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -5225,7 +5225,7 @@ static int remove_device(struct sock *sk, struct hci_dev *hdev, | |||
5225 | goto unlock; | 5225 | goto unlock; |
5226 | } | 5226 | } |
5227 | 5227 | ||
5228 | list_del_init(¶ms->action); | 5228 | list_del(¶ms->action); |
5229 | list_del(¶ms->list); | 5229 | list_del(¶ms->list); |
5230 | kfree(params); | 5230 | kfree(params); |
5231 | hci_update_background_scan(hdev); | 5231 | hci_update_background_scan(hdev); |