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)
commit63bfcb76a61ef659d9007ff679c5020e9dc19e45
treed006b5a676405dd2533dd7f4230ea85be87c9dc4
parent9365ee29a0764bdbdc4762aa4cf83ccf6ca57010
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