summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rndis_wlan.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-11-19 12:04:16 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-21 22:22:07 +0100
commit30fd90731d45eab2f4f51e622e522075c90a0d59 (patch)
treedbbd50927af07adec2e4ade0b381748fd264b7e1 /drivers/net/wireless/rndis_wlan.c
parentrndis_wlan: pass channel info to cfg80211_roamed() (diff)
downloadlinux-30fd90731d45eab2f4f51e622e522075c90a0d59.tar.xz
linux-30fd90731d45eab2f4f51e622e522075c90a0d59.zip
rndis_wlan: add missing __packed
Some structures were missing __packed. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r--drivers/net/wireless/rndis_wlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c
index d5bfc8d2bcad..08c85af003fd 100644
--- a/drivers/net/wireless/rndis_wlan.c
+++ b/drivers/net/wireless/rndis_wlan.c
@@ -387,13 +387,13 @@ struct ndis_80211_capability {
struct ndis_80211_bssid_info {
u8 bssid[6];
u8 pmkid[16];
-};
+} __packed;
struct ndis_80211_pmkid {
__le32 length;
__le32 bssid_info_count;
struct ndis_80211_bssid_info bssid_info[0];
-};
+} __packed;
/*
* private data