mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
This reverts commita8eb8e6f71as it can cause invalid link quality command sent to the firmware and address the off-by-one issue by fixing condition of while loop. Cc: [email protected] Fixes:a8eb8e6f71("wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()") Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]