summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/include
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-10-12 22:51:20 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 22:48:17 +0400
commit40c8e95af02d29a488d6a6b127f562d9210e6005 (patch)
tree1b3d5c2fea3ddd5fafbb1b6820b03d4d2ea27efb /drivers/net/wireless/brcm80211/include
parent668310754f32b6c0a421361a3e45767a4b5f5c05 (diff)
downloadlinux-40c8e95af02d29a488d6a6b127f562d9210e6005.tar.xz
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>
Diffstat (limited to 'drivers/net/wireless/brcm80211/include')
-rw-r--r--drivers/net/wireless/brcm80211/include/brcmu_wifi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/include/brcmu_wifi.h b/drivers/net/wireless/brcm80211/include/brcmu_wifi.h
index e98ed50c67c7..452bd420df76 100644
--- a/drivers/net/wireless/brcm80211/include/brcmu_wifi.h
+++ b/drivers/net/wireless/brcm80211/include/brcmu_wifi.h
@@ -258,7 +258,7 @@ struct pmkid {
};
struct pmkid_list {
- u32 npmkid;
+ __le32 npmkid;
struct pmkid pmkid[1];
};