[PATCH 6.6 190/587] wifi: iwlegacy: Check rate_idx range after addition