commit | 4b9a395e29878a739d8d21b4383268d83fc7710d | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Mon Sep 07 22:56:40 2015 +0300 |
committer | Jouni Malinen <j@w1.fi> | Mon Sep 07 23:02:19 2015 +0300 |
tree | feb4d7d666380b7b064f83f7c2f8bcd77f6d4d96 | |
parent | b664ef1c0d97dbf8b127408b4b63eb35e36aa5bb [diff] |
WPS: Reduce struct wps_parse_attr size Use shorter variables for storing the attribute lengths and group these variables together to allow compiler to pack them more efficiently. This reduces the struct size from 960 bytes to 760 bytes in 64-bit builds. This reduces stack use in number of functions. Signed-off-by: Jouni Malinen <j@w1.fi>