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:
parent
ac36b133aa
commit
4e7f5a4a2a
4 changed files with 29 additions and 24 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue