diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-18 15:04:48 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-19 09:23:34 -0400 |
commit | f96bc0a7f4ceee53ee3ef3a2983c81f84c5d6a89 (patch) | |
tree | 87ab9fc05ab03bbd7c2765429ec0eba8fa4bb486 /net/bluetooth/hci_sysfs.c | |
parent | 57af75a8cfec8e3c338a8542e54fe26376ea14cf (diff) |
Bluetooth: Remove debug entry for connection features
The debug entry for connection features is incomplete and also does
not work with AMP controllers and physical links. So just remove it.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
-rw-r--r-- | net/bluetooth/hci_sysfs.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c index 90142ae49e37..c5aa42f6bfd1 100644 --- a/net/bluetooth/hci_sysfs.c +++ b/net/bluetooth/hci_sysfs.c | |||
@@ -37,29 +37,15 @@ static ssize_t show_link_address(struct device *dev, | |||
37 | return sprintf(buf, "%pMR\n", &conn->dst); | 37 | return sprintf(buf, "%pMR\n", &conn->dst); |
38 | } | 38 | } |
39 | 39 | ||
40 | static ssize_t show_link_features(struct device *dev, | ||
41 | struct device_attribute *attr, char *buf) | ||
42 | { | ||
43 | struct hci_conn *conn = to_hci_conn(dev); | ||
44 | |||
45 | return sprintf(buf, "0x%02x%02x%02x%02x%02x%02x%02x%02x\n", | ||
46 | conn->features[0][0], conn->features[0][1], | ||
47 | conn->features[0][2], conn->features[0][3], | ||
48 | conn->features[0][4], conn->features[0][5], | ||
49 | conn->features[0][6], conn->features[0][7]); | ||
50 | } | ||
51 | |||
52 | #define LINK_ATTR(_name, _mode, _show, _store) \ | 40 | #define LINK_ATTR(_name, _mode, _show, _store) \ |
53 | struct device_attribute link_attr_##_name = __ATTR(_name, _mode, _show, _store) | 41 | struct device_attribute link_attr_##_name = __ATTR(_name, _mode, _show, _store) |
54 | 42 | ||
55 | static LINK_ATTR(type, S_IRUGO, show_link_type, NULL); | 43 | static LINK_ATTR(type, S_IRUGO, show_link_type, NULL); |
56 | static LINK_ATTR(address, S_IRUGO, show_link_address, NULL); | 44 | static LINK_ATTR(address, S_IRUGO, show_link_address, NULL); |
57 | static LINK_ATTR(features, S_IRUGO, show_link_features, NULL); | ||
58 | 45 | ||
59 | static struct attribute *bt_link_attrs[] = { | 46 | static struct attribute *bt_link_attrs[] = { |
60 | &link_attr_type.attr, | 47 | &link_attr_type.attr, |
61 | &link_attr_address.attr, | 48 | &link_attr_address.attr, |
62 | &link_attr_features.attr, | ||
63 | NULL | 49 | NULL |
64 | }; | 50 | }; |
65 | 51 | ||