Bluetooth: Expose hardware error code as debugfs entry
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 1 Feb 2015 03:54:39 +0000 (19:54 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 1 Feb 2015 07:14:55 +0000 (09:14 +0200)
commit5789f37cbc560aff45ff4d00673705eac92d3b4d
treea1fc1bdbcde3d435d9d6407e7abc389838716962
parent0886aea6acd27006888c36bad1fa5f80dac1e171
Bluetooth: Expose hardware error code as debugfs entry

When the Hardware Error event is send by the controller, the Bluetooth
core stores the error code. Expose it via debugfs so it can be retrieved
later on.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_debugfs.c