bluetooth: btbcm: Fix logic error in forming the board name.
authorSasha Finkelstein <fnkl.kernel@gmail.com>
Fri, 10 Mar 2023 10:28:42 +0000 (11:28 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 10 Apr 2023 17:23:15 +0000 (10:23 -0700)
commitb76abe4648c1acc791a207e7c08d1719eb9f4ea8
tree6d0afb0ec8de98ed352c993c7b02ff3c87b44dc6
parent73f7b171b7c09139eb3c6a5677c200dc1be5f318
bluetooth: btbcm: Fix logic error in forming the board name.

This patch fixes an incorrect loop exit condition in code that replaces
'/' symbols in the board name. There might also be a memory corruption
issue here, but it is unlikely to be a real problem.

Cc: <stable@vger.kernel.org>
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btbcm.c