rndis_wlan: add missing padding to struct rndis_80211_remove_key
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Thu, 30 Jul 2009 16:42:03 +0000 (19:42 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:17 +0000 (16:44 -0400)
OID_802_11_REMOVE_KEY failed with invalid length error, add missing padding to
structure fix this.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c

index 7a50cfa188433e854bfbc472515fcb2cd25e2b59..3d92b77d959991bdf050053634acca74d8f3423e 100644 (file)
@@ -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 {