From: Johan Hedberg Date: Mon, 26 Mar 2012 11:21:41 +0000 (+0300) Subject: Bluetooth: Don't increment twice in eir_has_data_type() X-Git-Tag: v3.4-rc3~32^2^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84d9d0716b2d5f4a27de4801bd2dbf7aff5e1c38;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed