From: Jussi Kivilinna Date: Thu, 30 Jul 2009 16:42:03 +0000 (+0300) Subject: rndis_wlan: add missing padding to struct rndis_80211_remove_key X-Git-Tag: MMI-PSA29.97-13-9~26976^2~459^2~59 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d40934e5e28314731d4b32acd2fdf5fb805a3ed;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git rndis_wlan: add missing padding to struct rndis_80211_remove_key OID_802_11_REMOVE_KEY failed with invalid length error, add missing padding to structure fix this. 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 7a50cfa18843..3d92b77d9599 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c @@ -327,6 +327,7 @@ struct ndis_80211_remove_key { __le32 size; __le32 index; u8 bssid[6]; + u8 padding[2]; } __attribute__((packed)); struct ndis_config_param {