Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 211179
Collapse All | Expand All

(-)net/bluetooth/hci_core.c~bluetooth-hci_core-defer-hci_unregister_sysfs (-2 / +2 lines)
Lines 901-908 int hci_unregister_dev(struct hci_dev *h Link Here
901
901
902
	BT_DBG("%p name %s type %d", hdev, hdev->name, hdev->type);
902
	BT_DBG("%p name %s type %d", hdev, hdev->name, hdev->type);
903
903
904
	hci_unregister_sysfs(hdev);
905
906
	write_lock_bh(&hci_dev_list_lock);
904
	write_lock_bh(&hci_dev_list_lock);
907
	list_del(&hdev->list);
905
	list_del(&hdev->list);
908
	write_unlock_bh(&hci_dev_list_lock);
906
	write_unlock_bh(&hci_dev_list_lock);
Lines 914-919 int hci_unregister_dev(struct hci_dev *h Link Here
914
912
915
	hci_notify(hdev, HCI_DEV_UNREG);
913
	hci_notify(hdev, HCI_DEV_UNREG);
916
914
915
	hci_unregister_sysfs(hdev);
916
917
	__hci_dev_put(hdev);
917
	__hci_dev_put(hdev);
918
918
919
	return 0;
919
	return 0;

Return to bug 211179