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:

committed by
John W. Linville

parent
668310754f
commit
40c8e95af0
@@ -258,7 +258,7 @@ struct pmkid {
|
||||
};
|
||||
|
||||
struct pmkid_list {
|
||||
u32 npmkid;
|
||||
__le32 npmkid;
|
||||
struct pmkid pmkid[1];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user