FST: Fix byte order of couple of fields on big endian hosts
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Jun 2016 14:46:40 +0000 (17:46 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 Jun 2016 14:46:40 +0000 (17:46 +0300)
commit82c734c28c4f16d8e8656c211eedab2a84dc0850
treebade1289605e11795e28436a2372d798ae7ead1a
parent0dbe22be3d6b1857a8f5183c5e309130b87b0655
FST: Fix byte order of couple of fields on big endian hosts

Couple of fsts_id and llt fields were not properly swapped from host
byte order to little endian byte order used in the frames. Fix this and
use the le32 type to make this more consistent and verifiable with
sparse.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/fst/fst_defs.h
src/fst/fst_session.c