brcm80211: use endian annotation for pmk related structure

The pairwise master key configuration is sent to the device. The
structure has been annotated for endianess checking.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Arend van Spriel
2011-10-12 20:51:20 +02:00
committed by John W. Linville
parent 668310754f
commit 40c8e95af0
2 changed files with 22 additions and 14 deletions

View File

@@ -258,7 +258,7 @@ struct pmkid {
};
struct pmkid_list {
u32 npmkid;
__le32 npmkid;
struct pmkid pmkid[1];
};