commit | a513e260ce25eaa5e8c6b834a70085be1d6f40c0 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Jan 30 19:39:59 2014 -0800 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Feb 13 09:51:40 2014 +0200 |
tree | bbcc370c7aa8e9ba8826eb87575e39919178a8a5 | |
parent | 21b93b75ad1090dd9aed69b56292648bac6666a9 [diff] |
Bluetooth: Remove unnecessary LTK type check from hci_add_ltk All callers of hci_add_ltk pass a valid value to it. There are no places where e.g. user space, the controller or the remote peer would be able to cause invalid values to be passed. Therefore, just remove the potentially confusing check from the beginning of the function. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>