diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-03-26 14:21:41 +0300 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-03-28 12:02:40 -0300 |
commit | 84d9d0716b2d5f4a27de4801bd2dbf7aff5e1c38 (patch) | |
tree | 904a091f877be933498eed2bfbf056f404c3b61a /drivers | |
parent | 8d7e1c7f7e5f9fe8f6279752fc33fcb77afd5001 (diff) |
Bluetooth: Don't increment twice in eir_has_data_type()
The parsed variable is already incremented inside the for-loop so there
no need to increment it again (not to mention that the code was
incrementing it the wrong amount).
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions