[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080305.184617.42952396.davem@davemloft.net>
Date: Wed, 05 Mar 2008 18:46:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: marcel@...tmann.org
Cc: akpm@...ux-foundation.org, netdev@...r.kernel.org,
linux-bluetooth@...r.kernel.org, hidave.darkstar@...il.com,
alon.barlev@...il.com, seife@...e.de
Subject: Re: [patch (for 2.6.25?) 1/2] bluetooth: hci_core: defer
hci_unregister_sysfs()
From: Marcel Holtmann <marcel@...tmann.org>
Date: Wed, 5 Mar 2008 09:48:29 +0100
> > @@ -902,8 +902,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);
> > @@ -915,6 +913,8 @@ int hci_unregister_dev(struct hci_dev *h
> >
> > hci_notify(hdev, HCI_DEV_UNREG);
> >
> > + hci_unregister_sysfs(hdev);
> > +
> > __hci_dev_put(hdev);
>
> I never got a chance to test this one in a proper way, but from a
> logic point of view it makes sense and thus it is acked by me. I also
> trust Stefan that he fully tested it.
Also applied to net-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists