]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Add helper for READ_LOCAL_VERSION command
authorDaniel Drake <drake@endlessm.com>
Tue, 24 Feb 2015 00:16:47 +0000 (18:16 -0600)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 13 Mar 2015 10:47:48 +0000 (12:47 +0200)
commitf806a1a02208c588d420f9b54ab3dd64d2673320
tree1da3af518e8833fb96ddb079a311628890c363e7
parent7eaf260b7fd188d0318b25c102b9baa6115a7cf0
Bluetooth: btusb: Add helper for READ_LOCAL_VERSION command

Multiple codepaths duplicate some simple code to read and
sanity-check local version information. Before I add a couple more
such codepaths, add a helper to reduce duplication.

Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btusb.c