Bluetooth: bpa10x: Add support for hci_set_fw_info
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 17 Jul 2016 17:55:17 +0000 (19:55 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 18 Jul 2016 06:33:56 +0000 (09:33 +0300)
commitb2999c195bb5cec1a1c713f17c7f382bbcdb8b39
tree3821ddc20ac0f1c5f32ec17ff81db3df36112fb6
parent5177a83827cd0b8cf6ce0391b00dd4417352d2f1
Bluetooth: bpa10x: Add support for hci_set_fw_info

The Digianswer sniffer devices allow for reading a firmware specific
information string. If it is available, then inform the Bluetooth core
about it via hci_set_fw_info. That exposes it via debugfs like this:

  # cat /sys/kernel/debug/bluetooth/hci0/firmware_info
  SNIF_102,BB930,02/01/18,10:37:56

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