mka: Refactor the get_*_peer() functions
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 15 Aug 2016 09:43:41 +0000 (11:43 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 28 Aug 2016 16:49:57 +0000 (19:49 +0300)
commit7c547cff6b7fc0ade64020ac38f08cd892b78bba
tree28184ccd52c337c6dc3c027182f009179b00397d
parent515bc1aec199afb82ad85ca83145fe75388e1bb7
mka: Refactor the get_*_peer() functions

Add ieee802_1x_kay_get_potential_peer() similarly to the previously used
ieee802_1x_kay_get_live_peer() and use these helper functions more
consistently to avoid multiple implementations of peer lookups.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
src/pae/ieee802_1x_kay.c