Bluetooth: Store local version information only during setup phase
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 19:04:50 +0000 (12:04 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 19 Oct 2013 13:24:09 +0000 (16:24 +0300)
commit0d5551f5e40c30ed8a6c1fc6bc6ea6aa96438324
treed006b5a676405dd2533dd7f4230ea85be87c9dc4
parentceeb3bc0f1623ecb86697445fd54017e4dab1bab
Bluetooth: Store local version information only during setup phase

The local version information from the controller can not change
since they are static. So store them only once during setup
phase and not bother overwriting them every time this command
gets executed.

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