Stanislaw Gruszka <stf_xl@xxxxx> wrote: > This reverts commit a8eb8e6f7159c7c20c0ddac428bde3d110890aa7 as > 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: stable@xxxxxxxxxxxxxxx > Fixes: a8eb8e6f7159 ("wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()") > Signed-off-by: Stanislaw Gruszka <stf_xl@xxxxx> Patch applied to wireless.git, thanks. 6d0ef7241553 wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd() -- https://patchwork.kernel.org/project/linux-wireless/patch/20220815073737.GA999388@xxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches