PAE: Use be16/be32 instead of u16/u32 for spartse

This converts some of the PAE code to use a design that gets rid
unnecessary warnings from sparse and allows more thorough validation of
byte order operations.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2016-06-24 01:38:48 +03:00 committed by Jouni Malinen
parent ac36b133aa
commit 4e7f5a4a2a
4 changed files with 29 additions and 24 deletions

View file

@ -32,7 +32,7 @@ struct ieee802_1x_mka_ki {
struct ieee802_1x_mka_sci {
u8 addr[ETH_ALEN];
u16 port;
be16 port;
};
struct mka_key {