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>
This commit is contained in:
parent
2b13bcad70
commit
de7f5337f4
1 changed files with 0 additions and 2 deletions
|
@ -874,7 +874,6 @@ ieee802_1x_mka_encode_live_peer_body(
|
||||||
sizeof(struct ieee802_1x_mka_peer_id));
|
sizeof(struct ieee802_1x_mka_peer_id));
|
||||||
os_memcpy(body_peer->mi, peer->mi, MI_LEN);
|
os_memcpy(body_peer->mi, peer->mi, MI_LEN);
|
||||||
body_peer->mn = host_to_be32(peer->mn);
|
body_peer->mn = host_to_be32(peer->mn);
|
||||||
body_peer++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ieee802_1x_mka_dump_peer_body(body);
|
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));
|
sizeof(struct ieee802_1x_mka_peer_id));
|
||||||
os_memcpy(body_peer->mi, peer->mi, MI_LEN);
|
os_memcpy(body_peer->mi, peer->mi, MI_LEN);
|
||||||
body_peer->mn = host_to_be32(peer->mn);
|
body_peer->mn = host_to_be32(peer->mn);
|
||||||
body_peer++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ieee802_1x_mka_dump_peer_body(body);
|
ieee802_1x_mka_dump_peer_body(body);
|
||||||
|
|
Loading…
Reference in a new issue