ipa_ccm_make_id_resp: Make it work at all

This could never possibly have worked.  When iterating over the
different IEs to encode, we must of course use the tag of the current
iterator item, and not the hard-coded value of the second tag in the
list.

Change-Id: I148799c5bdb95f70118691c1150330ebac4fdf21
diff --git a/src/gsm/ipa.c b/src/gsm/ipa.c
index fc77d75..447e8e3 100644
--- a/src/gsm/ipa.c
+++ b/src/gsm/ipa.c
@@ -388,7 +388,7 @@
 		tag = msgb_put(msg, 3 + strlen(str) + 1);
 		tag[0] = 0x00;
 		tag[1] = 1 + strlen(str) + 1;
-		tag[2] = ies_req[1];
+		tag[2] = ies_req[i];
 		memcpy(tag + 3, str, strlen(str) + 1);
 	}
 	ipa_prepend_header(msg, IPAC_PROTO_IPACCESS);