@@ -, +, @@ Wed, 20 Feb 2008 05:25:37 -0800 (PST) Wed, 20 Feb 2008 05:25:35 -0800 (PST) by mx.google.com with ESMTP id j34si9485138waf.29.2008.02.20.05.25.34; Wed, 20 Feb 2008 05:25:35 -0800 (PST) marcel@holtmann.org, seife@suse.de bluetooth: hci_core: defer hci_unregister_sysfs() bluetooth-hci_core-defer-hci_unregister_sysfs.patch a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's ------------------------------------------------------ +Feb 16 23:41:33 alon1 usb 3-1: configuration #1 chosen from 1 choice tery nvram rtc sr_mod ac sg firmware_class button processor cdrom unix usbcore evdev ext3 jbd ext2 mbcache loop ata_piix libata sd_mod scsi_mod --- net/bluetooth/hci_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- net/bluetooth/hci_core.c~bluetooth-hci_core-defer-hci_unregister_sysfs +++ net/bluetooth/hci_core.c~bluetooth-hci_core-defer-hci_unregister_sysfs @@ -901,8 +901,6 @@ int hci_unregister_dev(struct hci_dev *h BT_DBG("%p name %s type %d", hdev, hdev->name, hdev->type); - hci_unregister_sysfs(hdev); - write_lock_bh(&hci_dev_list_lock); list_del(&hdev->list); write_unlock_bh(&hci_dev_list_lock); @@ -914,6 +912,8 @@ int hci_unregister_dev(struct hci_dev *h hci_notify(hdev, HCI_DEV_UNREG); + hci_unregister_sysfs(hdev); + __hci_dev_put(hdev); return 0;