gen2_basic - choose illegal max_qp_init_rd_atom values correctly

Signed-off by: Robert Walsh <robert.walsh@qlogic.com>

diff -rNu a/gen2_basic/test_qp.c b/gen2_basic/test_qp.c
--- a/gen2_basic/test_qp.c	2006-09-13 19:09:47.419791000 -0700
+++ b/gen2_basic/test_qp.c	2006-08-14 14:16:57.911621000 -0700
@@ -369,7 +369,7 @@
 	if (legal)
 		return VL_range(rand_gen, 0, attr->max_qp_init_rd_atom);
 	else
-		return VL_range(rand_gen, attr->max_qp_init_rd_atom, 0xFF);
+		return VL_range(rand_gen, attr->max_qp_init_rd_atom + 1, 0xFF);
 }
 
 uint8_t get_max_dest_rd_atomic(
@@ -380,7 +380,7 @@
 	if (legal)
 		return VL_range(rand_gen, 0, attr->max_qp_rd_atom);
 	else
-		return VL_range(rand_gen, attr->max_qp_rd_atom, 0xFF);
+		return VL_range(rand_gen, attr->max_qp_rd_atom + 1, 0xFF);
 }
 
 uint8_t get_min_rnr_timer(
