aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-08-12 13:07:33 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-28 17:35:45 (GMT)
commitde7f5337f44770f03a44abb22d3e4274b4174425 (patch)
treef852502ab2751dfb3d272396325d367e4210eb58 /src
parent2b13bcad70f7d3a82bdcc7bca49ff9505f984ac9 (diff)
downloadhostap-de7f5337f44770f03a44abb22d3e4274b4174425.zip
hostap-de7f5337f44770f03a44abb22d3e4274b4174425.tar.gz
hostap-de7f5337f44770f03a44abb22d3e4274b4174425.tar.bz2
mka: Remove unused body_peer incrementation
Each loop iteration resets body_peer in the beginning, so there is no need to increment this pointer in the end. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Diffstat (limited to 'src')
-rw-r--r--src/pae/ieee802_1x_kay.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pae/ieee802_1x_kay.c b/src/pae/ieee802_1x_kay.c
index 44d7ca3..07d734e 100644
--- a/src/pae/ieee802_1x_kay.c
+++ b/src/pae/ieee802_1x_kay.c
@@ -874,7 +874,6 @@ ieee802_1x_mka_encode_live_peer_body(
sizeof(struct ieee802_1x_mka_peer_id));
os_memcpy(body_peer->mi, peer->mi, MI_LEN);
body_peer->mn = host_to_be32(peer->mn);
- body_peer++;
}
ieee802_1x_mka_dump_peer_body(body);
@@ -935,7 +934,6 @@ ieee802_1x_mka_encode_potential_peer_body(
sizeof(struct ieee802_1x_mka_peer_id));
os_memcpy(body_peer->mi, peer->mi, MI_LEN);
body_peer->mn = host_to_be32(peer->mn);
- body_peer++;
}
ieee802_1x_mka_dump_peer_body(body);