gen2_basic - fix static_rate check

Make sure we're comparing apples to apples in the static_rate check.

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:17:17.835923000 -0700
+++ b/gen2_basic/test_qp.c	2006-08-14 14:16:57.911621000 -0700
@@ -659,7 +659,7 @@
 /*		CHECK_VALUE("AV port_num", query_attr.ah_attr.port_num, attr->ah_attr.port_num, return -1); */
 		CHECK_VALUE("AV sl", query_attr.ah_attr.sl, attr->ah_attr.sl, return -1);
 		CHECK_VALUE("AV src_path_bits", query_attr.ah_attr.src_path_bits, attr->ah_attr.src_path_bits, return -1);
-		CHECK_VALUE("AV static_rate", query_attr.ah_attr.static_rate, !!attr->ah_attr.static_rate, return -1);
+		CHECK_VALUE("AV static_rate", !!query_attr.ah_attr.static_rate, !!attr->ah_attr.static_rate, return -1);
 		if (query_attr.ah_attr.is_global) {
 			int i;
 			
