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-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d40934e5e28314731d4b32acd2fdf5fb805a3ed;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 {