From: Jussi Kivilinna Date: Sat, 19 Nov 2011 11:04:16 +0000 (+0200) Subject: rndis_wlan: add missing __packed X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30fd90731d45eab2f4f51e622e522075c90a0d59;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rndis_wlan: add missing __packed Some structures were missing __packed. Signed-off-by: Jussi Kivilinna Signed-off-by: John W. Linville --- 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