WPS: Reduce wps_ap_priority_compar() stack use
authorJouni Malinen <j@w1.fi>
Mon, 7 Sep 2015 19:52:45 +0000 (22:52 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 7 Sep 2015 19:52:45 +0000 (22:52 +0300)
commitb664ef1c0d97dbf8b127408b4b63eb35e36aa5bb
tree97d0139e78a44b24d9f81d5746e6b61b73cf0fa9
parent53bd8653c2c6b4c34c6419f0cdb37c302961f8f0
WPS: Reduce wps_ap_priority_compar() stack use

There is no need to maintain two concurrent instances of struct
wps_parse_attr in this function. Share a single structure for parsing
both IEs.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/wps/wps.c