Skip to content

Commit

Permalink
[Bluetooth] Fix userspace breakage due missing class links
Browse files Browse the repository at this point in the history
The Bluetooth adapters and connections are best presented via a class
in sysfs. The removal of the links inside the Bluetooth class broke
assumptions by userspace programs on how to find attached adapters.

This patch creates adapters and connections as part of the Bluetooth
class, but it uses different device types to distinguish them. The
userspace programs can now easily navigate in the sysfs device tree.

The unused platform device and bus have been removed to keep the
code simple and clean.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Marcel Holtmann committed Aug 18, 2008
1 parent 9bfa35f commit 90855d7
Showing 1 changed file with 189 additions and 187 deletions.
Loading

0 comments on commit 90855d7

Please sign in to comment.